We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Purging Bumblebee AI models cache
almirsarajcic
Created
If you’ve experimented with Bumblebee your disk space is probably almost filled up. To free it, you can remove all AI models you’ve downloaded by running the following code in a Livebook or iex
Mix.install([{:bumblebee, "~> 0.6"}])
Bumblebee.cache_dir() |> File.rm_rf!()
If you want to run it in one step, execute the following shell command:
iex -e "
Mix.install([{:bumblebee, \"~> 0.6\"}])
Bumblebee.cache_dir() |> File.rm_rf!()
"
Of course, if you have your AI pet project in place, you can run iex -S mix
and run
Bumblebee.cache_dir() |> File.rm_rf!()
so you don’t have to wait for the dependency to install
Check out Freeing up storage in a dev machine to learn how to remove Elixir deps from stale projects.
Copy link
copied to clipboard