csarofeen / pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration
http://pytorch.org
Other
26 stars 7 forks source link

Revert "Fixing and improving indexing type handling" #2568

Closed naoyam closed 1 year ago

naoyam commented 1 year ago

Reverts csarofeen/pytorch#2522

Lots of the C++ tests are failing after this PR:

unknown file
C++ exception with description "false INTERNAL ASSERT FAILED at "/opt/pytorch/pytorch-jit/third_party/nvfuser/csrc/type.cpp":915, please report a bug to PyTorch. Index is determined at compile time, to convert from an aten type you need to have the compiled information. This information is passed to GpuLower at compile time, and then copied to kerned.There's also this information in FusionExecutorCache and the Registry system.

I'll work with @mmigdal-nv, but for now, I think we should just revert it.