I created the af2_binder_design conda env from af2_binder_design.yml. Conda solved and installed the env with no obvious errors.
But when I try running python importtests/af2_importtest.py in the environment, I get the error:
AttributeError: module 'ml_dtypes' has no attribute 'float8_e4m3b11'. Did you mean: 'float8_e4m3fn'?
After some digging, I found that float8_e4m3b11 was deprecated in version 0.2.0 of ml_dtypes and removed in version 0.3.0.
I can confirm that adding - ml_dtypes==0.2.0 to - pip: in the af2_binder_design.yml file fixes this problem.
I created the
af2_binder_design
conda env fromaf2_binder_design.yml
. Conda solved and installed the env with no obvious errors. But when I try runningpython importtests/af2_importtest.py
in the environment, I get the error:AttributeError: module 'ml_dtypes' has no attribute 'float8_e4m3b11'. Did you mean: 'float8_e4m3fn'?
After some digging, I found that
float8_e4m3b11
was deprecated in version 0.2.0 ofml_dtypes
and removed in version 0.3.0.I can confirm that adding
- ml_dtypes==0.2.0
to- pip:
in theaf2_binder_design.yml
file fixes this problem.Rob