Closed AtaraxiaZ closed 8 months ago
The unit test has passed, but the github action seems to have a bug.
Thanks for the PR. I have pulled and merged your solution. I included a torch version check here to pass tests and remain backwards compatible. This is covered in pip install torchimize >= 0.0.16
onwards.
Hey, PyTorch 2.0 don't use
stateless.functional_call
any more, so I change it all to the drop in replacementtorch.func.functional_call