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

support setting S3 region and signature version in stream_io #92

Closed
lizzzcai opened this issue Feb 27, 2024 · 0 comments · Fixed by #93
Closed

support setting S3 region and signature version in stream_io #92

lizzzcai opened this issue Feb 27, 2024 · 0 comments · Fixed by #93

Comments

@lizzzcai
Copy link
Contributor

I am trying to use TensorDeserializer to deserialize the model from aws s3 bucket but getting 400 Bad Request error. However, using TensorSerializer to serialize the model to s3 bucket has no issue.

After some testing, I found that changing the signature_version to s3v4 and setting a proper region_name can make thing work. From aws doc, v2 signature version is deprecated (getting Access Denied), and region is used to overwrite the default value which will point to us-east-1.

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 a pull request may close this issue.

1 participant