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

Only retain the best metric model, and delete the others #850

Open
gregtatum opened this issue Sep 17, 2024 · 2 comments
Open

Only retain the best metric model, and delete the others #850

gregtatum opened this issue Sep 17, 2024 · 2 comments
Labels
cost & perf Speeding up and lowering cost for the pipeline

Comments

@gregtatum
Copy link
Member

It costs money to store models in the cloud. We could save a bit, and make the output of the train tasks a bit less confusing if we just stored a single final model. As far as I have seen, we never use any of the other models unless I'm missing something.

We would have to make sure that training continuation is updated and the fetching of old models for training still works.

What do you think @eu9ene?

@gregtatum gregtatum added the cost & perf Speeding up and lowering cost for the pipeline label Sep 17, 2024
@eu9ene
Copy link
Collaborator

eu9ene commented Sep 17, 2024

I agree, but we should double-check that training continuation after preemption will work this way. I think it needs a bunch of files like the optimizer config that Marian writes to the directory. Another consideration is that GCS cost is likely not too high compared to GPUs, there are ways to archive things there and make it even cheaper.

@gregtatum
Copy link
Member Author

I don't know that we've pulled numbers on storage costs to know them exactly, but my assumption is that it's a function of storage size and cache duration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cost & perf Speeding up and lowering cost for the pipeline
Projects
None yet
Development

No branches or pull requests

2 participants