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

Extremely long cold boot times #242

Open
UmarRamzan opened this issue Feb 5, 2024 · 2 comments
Open

Extremely long cold boot times #242

UmarRamzan opened this issue Feb 5, 2024 · 2 comments

Comments

@UmarRamzan
Copy link

Is there any way to store large models in some kind of network storage to avoid long cold boot times?

@mattt
Copy link
Member

mattt commented Feb 5, 2024

Hi @UmarRamzan. I hear you — large models can take a while to setup from a cold boot. We do what we can to optimize network storage and caches, but at a certain point you're limited by physical limitations of hardware for transferring and loading 10^2GB of weights into GPU VRAM.

We have some docs about cold boots here: https://replicate.com/docs/how-does-replicate-work#cold-boots

If your application is sensitive to long cold starts, you can try creating a deployment and configuring a certain number of instances to always be running.

What model are you seeing this for?

@UmarRamzan
Copy link
Author

Hi, creating a deployment is not financially feasible for us. We're currently using Whisper Large v-3, which is around 8 GB and takes a minute or two to load. I had this in mind when originally asking the question: https://modal.com/docs/guide/checkpointing

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

No branches or pull requests

2 participants