How Can I Stop a Running Model in Docker?

0
4
Asked By TechSavvyDude42 On

I've been working with a Docker model and have successfully pulled and run it locally. While I know how to list models with 'docker model list' and run them with 'docker model run', I'm stuck on how to stop a running model. I tried using 'docker model stop', but that didn't work. What's the right way to stop a model that's currently running?

3 Answers

Answered By ModelMagician89 On

So, I work with the team that builds the model runner, and here's the deal: there isn't currently a way to manually stop a model. They automatically unload after 5 minutes of inactivity. Just curious, though—why do you want to stop it?

Answered By CuriousCoder88 On

I totally get that. Removing the model isn’t ideal because if you want to run it again later, you’ll have to download the whole thing again. It’s a hassle if you’re frequently switching between different models.

Answered By DockerDude99 On

I checked the documentation, and it seems like there’s no command specifically for stopping a model. Did you try just removing the model instead?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.