diff --git a/python/taichi/lang/util.py b/python/taichi/lang/util.py index 5c395b30229ba..071209fe2e957 100644 --- a/python/taichi/lang/util.py +++ b/python/taichi/lang/util.py @@ -178,7 +178,6 @@ def to_pytorch_type(dt): raise RuntimeError(f"PyTorch doesn't support {dt.to_string()} data type before version 2.3.0.") raise RuntimeError(f"PyTorch doesn't support {dt.to_string()} data type.") - assert False def to_paddle_type(dt):