Skip to content

Pinning the peft library#1793

Open
egottschalk wants to merge 1 commit intohaotian-liu:mainfrom
egottschalk:main
Open

Pinning the peft library#1793
egottschalk wants to merge 1 commit intohaotian-liu:mainfrom
egottschalk:main

Conversation

@egottschalk
Copy link

@egottschalk egottschalk commented Dec 10, 2024

The 0.14.0 release on 12/6 of PEFT created some conflicts with transformers. Pinning to last release of 0.13.2 to fix things.

@WojciechKusa
Copy link

I agree, this fixes the RuntimeError:

RuntimeError: Failed to import transformers.trainer because of the following error (look up to see its traceback):
cannot import name 'EncoderDecoderCache' from 'transformers' (/opt/conda/envs/llava/lib/python3.10/site-packages/transformers/__init__.py)

@egottschalk
Copy link
Author

Fixes: #1794

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants