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
elated to the versions of the transformers, auto_gptq, and autoawq libraries. Here are some specific problems you might face and their solutions:
1. Error: “but found at least two devices, cpu and cuda:0! (when checking argument for argument mat2 in method wrapper_CUDA_bmm)”
2. Error: “got an unexpected keyword argument ‘seq_len’” or missing “position_ids”
3. Error: “missing ‘gemma’ in awq”
These issues are often due to version incompatibilities. Specifically, you’ll need transformers version less than 4.38.0 because versions above that may cause problems 1 and 2. However, transformers versions below 4.38.0 do not include the “gemma” model, which was added in 4.38.0. And autoawq added gemma model in 0.2.4. Thus, you can’t have transformers < 4.38.0 and autoawq < 0.2.4 in the same environment.
To resolve these issues, set transformers to version 4.37.2 and autoawq to version 0.2.3. This combination has worked for me: pip install transformers==4.37.2 autoawq==0.2.3
The text was updated successfully, but these errors were encountered:
elated to the versions of the transformers, auto_gptq, and autoawq libraries. Here are some specific problems you might face and their solutions:
These issues are often due to version incompatibilities. Specifically, you’ll need transformers version less than 4.38.0 because versions above that may cause problems 1 and 2. However, transformers versions below 4.38.0 do not include the “gemma” model, which was added in 4.38.0. And autoawq added gemma model in 0.2.4. Thus, you can’t have transformers < 4.38.0 and autoawq < 0.2.4 in the same environment.
To resolve these issues, set transformers to version 4.37.2 and autoawq to version 0.2.3. This combination has worked for me:
pip install transformers==4.37.2 autoawq==0.2.3
The text was updated successfully, but these errors were encountered: