Open CMGeldenhuys opened 3 days ago
Got it working. Manually uninstall fairseq and then installing from the git repo worked.
pip uninstall fairseq
pip install git+https://github.com/facebookresearch/fairseq.git@920a548ca770fb1a951f7f4289b4d3a0c1bc226f
Hi,
I'm trying to load your model weights using the instructions found in the README.
When loading the model I get the following error:
Any suggestions to what may be causing the issue?
https://github.com/facebookresearch/fairseq/issues/5282 might be related?
Python dependencies
``` ... pip 24.0 pyhd8ed1ab_0 conda-forge python 3.9.20 h13acc7a_1_cpython conda-forge ``` ``` Package Version ---------------------------- ----------- absl-py 2.1.0 antlr4-python3-runtime 4.8 astunparse 1.6.3 audioread 3.0.1 bitarray 3.0.0 cachetools 5.5.0 certifi 2024.8.30 cffi 1.17.1 charset-normalizer 3.4.0 colorama 0.4.6 contourpy 1.3.0 cycler 0.12.1 Cython 3.0.11 decorator 5.1.1 fairseq 0.12.2 # 920a548ca770fb1a951f7f4289b4d3a0c1bc226f filelock 3.16.1 flatbuffers 24.3.25 fonttools 4.55.0 fsspec 2024.10.0 gast 0.4.0 google-auth 2.36.0 google-auth-oauthlib 0.4.6 google-pasta 0.2.0 grpcio 1.68.0 h5py 3.7.0 huggingface-hub 0.26.2 hydra-core 1.0.7 idna 3.10 imageio 2.36.0 importlib_metadata 8.5.0 intervaltree 3.1.0 iopath 0.1.10 iterative-stratification 0.1.7 joblib 1.4.2 keras 2.11.0 kiwisolver 1.4.7 lazy_loader 0.4 libclang 18.1.1 librosa 0.10.1 llvmlite 0.43.0 lxml 5.3.0 Markdown 3.7 MarkupSafe 3.0.2 matplotlib 3.6.3 msgpack 1.1.0 networkx 3.2.1 numba 0.60.0 numpy 1.23.5 nvidia-cublas-cu11 11.10.3.66 nvidia-cuda-nvrtc-cu11 11.7.99 nvidia-cuda-runtime-cu11 11.7.99 nvidia-cudnn-cu11 8.5.0.96 oauthlib 3.2.2 omegaconf 2.0.6 opt_einsum 3.4.0 packaging 24.0 pandas 1.5.3 pillow 11.0.0 pip 24.0 platformdirs 4.3.6 pooch 1.8.2 portalocker 3.0.0 protobuf 3.19.6 pyarrow 15.0.2 pyasn1 0.6.1 pyasn1_modules 0.4.1 pycparser 2.22 pyparsing 3.2.0 python-dateutil 2.9.0.post0 pytz 2024.2 PyYAML 6.0.2 regex 2024.11.6 requests 2.32.3 requests-oauthlib 2.0.0 rsa 4.9 sacrebleu 2.4.3 scikit-image 0.24.0 # Had to change depency as 0.23.1 would not resolve scikit-learn 1.2.0 scipy 1.10.0 seaborn 0.13.2 setuptools 75.6.0 six 1.16.0 sortedcontainers 2.4.0 soundfile 0.12.1 soxr 0.5.0.post1 tabulate 0.9.0 tensorboard 2.11.2 tensorboard-data-server 0.6.1 tensorboard-plugin-wit 1.8.1 tensorflow 2.11.0 tensorflow-estimator 2.11.0 tensorflow-io-gcs-filesystem 0.37.1 termcolor 2.5.0 threadpoolctl 3.5.0 tifffile 2024.8.30 timm 0.6.12 torch 1.13.1 torchaudio 0.13.1 torchvision 0.14.1 tqdm 4.64.1 typing_extensions 4.12.2 urllib3 2.2.3 Werkzeug 3.1.3 wheel 0.45.1 wrapt 1.17.0 zipp 3.21.0 ```