Open csukuangfj opened 1 year ago
Hi, I am getting this error when training a zipformer model
AttributeError: module 'k2' has no attribute 'swoosh_r'
here is my installation of icefall https://medium.com/@nadirapovey/k2fsa-icefall-instalation-1085fae845d2 in short I did:
(venv) np@np-INTEL:~/anna$ pip install k2==1.21.dev20221008+cuda11.3.torch1.12.1 -f https://k2-fsa.org/nightly/
Please update your k2.
Please follow our latest doc to install k2. https://k2-fsa.github.io/k2/installation/from_wheels.html
In your case, please replace
pip install k2==1.21.dev20221008+cuda11.3.torch1.12.1 -f https://k2-fsa.org/nightly/
with
pip install k2==1.24.3.dev20230725+cuda11.3.torch1.12.1 -f https://k2-fsa.github.io/k2/cuda.html
Thanks Fangjun, It worked.
I just updated the doc about installing k2. Please see
https://k2-fsa.github.io/k2/installation/from_wheels.html#