I hate to do this, but it looks like the compiler upgrade in PyTorch 2.0 somehow broke the pre-existing NNC usage in Bean Machine. Therefore, the algorithms that have NNC enabled by default are no longer working once we upgrade to PyTorch 2.0.
Until we figure out what's going on with the compiler, let's turn off NNC by default so that our tests can pass under PyTorch 2.0.
Changes proposed
NNC compile are disable by default now
Mark Bean Machine as compatible with PyTorch 2.0+ in setup.py so we don't block downstream libraries that depend on us from using newer version of PyTorch.
Motivation
I hate to do this, but it looks like the compiler upgrade in PyTorch 2.0 somehow broke the pre-existing NNC usage in Bean Machine. Therefore, the algorithms that have NNC enabled by default are no longer working once we upgrade to PyTorch 2.0.
Until we figure out what's going on with the compiler, let's turn off NNC by default so that our tests can pass under PyTorch 2.0.
Changes proposed
setup.py
so we don't block downstream libraries that depend on us from using newer version of PyTorch.Test Plan
If CI pass then we should be good.
Types of changes
Checklist