Closed woithook closed 1 year ago
@woithook Thanks for raising this. We accidentally removed the type alias in optree
. You can install the older version as:
pip3 install optree==0.3.0
We will read the alias and make a new release of optree
soon.
We released optree 0.5.0 to PyPI, which readded the type alias.
Describe the bug
I used torchopt in google colab without any problem untill last week, an error occurred when I tried to import torchopt.
I have tried reinstalling torchop as well as pytorch, and even replacing a local machine to execute the program, but the problem has not been solved.
To Reproduce
The error occurs when executing the following code on Google Colab:
Then
System info
Checklist