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

Save batch to s3 #114

Open
peterdudfield opened this issue Nov 10, 2024 · 0 comments
Open

Save batch to s3 #114

peterdudfield opened this issue Nov 10, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@peterdudfield
Copy link
Contributor

peterdudfield commented Nov 10, 2024

Detailed Description

It would be good to save the batch before it goes into the model to s3

Context

  • good to know what has gone into the model
  • easy to debug

Possible Implementation

add code in here

  • torch.save(filename) would do it
  • the filename should include {i} and a timestamp, and perhaps the model name of the model
  • load the s3 directory name from a env var would be great

There's a seperate task to create a specific s3 bucket and give rights to this component to use it, and a rentention cycle of the data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant