Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinning the peft library #1793

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

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