You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
simply calling "import cola" causes a unexpected keyword argument error with the new Jax v0.6.0
To reproduce
** Code snippet to reproduce **
# Your code goes here# Please make sure it does not require any external dependencies (other than JaX/PyTorch!)# (We much prefer small snippets rather than links to existing libraries!)
** Stack trace/error message **
import cola
File "/home/adam/anaconda3/envs/jax_latest/lib/python3.12/site-packages/cola/__init__.py", line 11, in <module>
import_from_all("fns", globals(), __all__, __name__)
File "/home/adam/anaconda3/envs/jax_latest/lib/python3.12/site-packages/cola/utils/__init__.py", line 37, in import_from_all
module = importlib.import_module('.' + module_name, package=_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adam/anaconda3/envs/jax_latest/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adam/anaconda3/envs/jax_latest/lib/python3.12/site-packages/cola/fns.py", line 155, in <module>
@dispatch(cond=lambda A: A.isa(cola.SelfAdjoint))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Dispatcher.__call__() got an unexpected keyword argument 'cond'
System information
Please complete the following information:
Cola v0.0.7
JAX v0.6.0
Python 3.12
Cuda 12.8
The text was updated successfully, but these errors were encountered:
🐛 Bug
simply calling "import cola" causes a unexpected keyword argument error with the new Jax v0.6.0
To reproduce
** Code snippet to reproduce **
** Stack trace/error message **
System information
Please complete the following information:
Cola v0.0.7
JAX v0.6.0
Python 3.12
Cuda 12.8
The text was updated successfully, but these errors were encountered: