-
Notifications
You must be signed in to change notification settings - Fork 139
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
Loading adapter from S3 fails #155
Comments
Thanks for reporting @joaopcm1996. This code path definitely hasn't been tested thoroughly outside of our internal usage of it. I can definitely take a look and see what the issue is. |
@joaopcm1996 assuming you set |
Thanks @tgaddair, that solved it! |
Thanks for confirming, @joaopcm1996! This should be fixed going forward by #161. |
^ Facing the same issue @tgaddair |
Uploaded the adapter used in the default example in LoRAX docs to a personal
lorax-adapters
bucket on S3, no change to dir structure:aws s3 ls s3://lorax-adapters/adapter-1/ --human-readable
Tried to load the adapter dynamically from S3 using Python client, got :
this env var is not documented, happy to contribute. Relaunching the container with PREDIBASE_MODEL_BUCKET set, got
even though I have verified that
adapter_model.bin
is present in the provided path.Running latest Docker on an EC2 g5 instance, instance role has s3 get permission.
Information
Tasks
Reproduction
Expected behavior
Adapter is downloaded from S3 and loaded to GPU for inference.
The text was updated successfully, but these errors were encountered: