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

fix: Properly split out model_id when retrieving adapter weights downloaded from S3 #246

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

jeffreyftang
Copy link
Contributor

What does this PR do?

Like #234, this PR addresses errors like ValueError: Can't find 'adapter_config.json' at '/data/models--s3:----jeff-adapters--1--mymodel/snapshots' when trying to load adapter weights downloaded from S3 source.

Fixes #155

@magdyksaleh
Copy link
Collaborator

Thanks for taking this on Jeff!

@jeffreyftang jeffreyftang merged commit ffcf9ab into main Feb 14, 2024
1 check passed
@jeffreyftang jeffreyftang deleted the fix-s3-download-path branch February 14, 2024 21:30
@DhruvaBansal00
Copy link
Contributor

Thanks for landing this @jeffreyftang ! I need this change and the corresponding Docker container, but seems like the gh action is failing. #248 should make docker builds work again!

@jeffreyftang jeffreyftang mentioned this pull request Feb 15, 2024
4 tasks
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.

Loading adapter from S3 fails
4 participants