From DeepSpeed to FSDP and Back Again with Hugging Face Accelerate
โข
44
I pinged Elio to see if he wants to join.
Thank you for the kind words, Jeff!
We are still waiting for BLOOM v2.0 from HF!
main
in a few quick steps and no tedious manual editing.$ pip install huggingface_hub["cli"] -U
$ huggingface-cli delete-cache --disable-tui
File to edit: /tmp/tmpundr7lky.txt
0 revisions selected counting for 0.0. Continue ? (y/N)
$ cp /tmp/tmpedbz00ox.txt cache.txt
$ perl -pi -e 's|^#(.*detached.*)|$1|' cache.txt
$ cat cache.txt >> /tmp/tmpundr7lky.txt
(detached)
in it - so can be wiped out. And then we pasted it back into the tmp file huggingface-cli
expects to be edited.0 revisions selected counting for 0.0. Continue ? (y/N) n
89 revisions selected counting for 211.7G. Continue ? (y/N) y
89 revisions selected counting for 211.7G. Confirm deletion ? (Y/n) y
cache.txt
file which you can feed again to the new tmp file it'll create when you run huggingface-cli delete-cache --disable-tui
again.