-
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
S3 Adapter Loading Failing #236
Comments
In /predibase/lorax/blob/main/server/lorax_server/utils/sources/s3.py, Can I change the bucket, model_id = _get_bucket_and_model_id(model_id) into bucket, _ = _get_bucket_and_model_id(model_id) This will use "/data/models--s3:----{bucket}--{model_id}/snapshots" convention instead |
Thanks for reporting the issue @llama-shepard, and apologies for the errors here. @magdyksaleh is planning to take a look into the S3 codepath this week to fix this and related issues. |
Not sure if this helps debug things, but the model is getting downloaded at |
I have used ghcr.io/predibase/lorax:87412e1 from CD run of #234 But still getting the same problem. Waiting for fix from @magdyksaleh |
#247 should fix this imo. Building the image locally and testing things out. |
Slightly unrelated, but I am also concerned that all deployments are failing because of dependency issues: https://github.com/predibase/lorax/actions/workflows/build.yaml. The latest dockerfile doesn't have some of the most recent changes. |
Building locally with rust updated to 1.74 |
Should have been fixed by #246. |
System Info
ghcr.io/predibase/lorax:87412e1
Information
Tasks
Reproduction
Getting Same Error even after providing fix on #234
Docker Logs:
2024-02-11T09:09:19.286855Z INFO lorax_router::loader: router/src/loader.rs:150: adapter s3:s3:https://adapters/gsm8k downloaded
2024-02-11T09:09:19.286896Z INFO lorax_router::queue: router/src/queue.rs:135: set adapter s3:s3:https://adapters/gsm8k status to Downloaded
2024-02-11T09:09:19.293490Z ERROR lorax_client: router/client/src/lib.rs:34: Server error: Can't find 'adapter_config.json' at '/data/models--s3:----adapters--gsm8k/snapshots'
2024-02-11T09:09:19.293526Z INFO lorax_router::loader: router/src/loader.rs:206: FAILED loading adapter s3:s3:https://adapters/gsm8k
2024-02-11T09:09:19.293550Z INFO lorax_router::queue: router/src/queue.rs:135: set adapter s3:s3:https://adapters/gsm8k status to Errored
2024-02-11T09:09:19.293624Z INFO lorax_router::loader: router/src/loader.rs:276: terminating adapter s3:s3:https://adapters/gsm8k loader
Expected behavior
S3 Adapter Loading should work properly
The text was updated successfully, but these errors were encountered: