I’m trying to figure out what happened here – I was following the custom handler tutorial (Create custom Inference Handler). I cloned philschmid/distilbert-base-uncased-emotion
, as instructed, and logged in to my HF account. I noticed the handler was complete already, so I went ahead and pushed to my new (private) repo. Unfortunately:
git push -f
Enumerating objects: 69, done.
Counting objects: 100% (69/69), done.
Delta compression using up to 8 threads
Compressing objects: 100% (65/65), done.
Writing objects: 100% (69/69), 118.91 KiB | 7.93 MiB/s, done.
Total 69 (delta 25), reused 0 (delta 0), pack-reused 0
remote: Scanning LFS files for validity, may be slow...
remote: -------------------------------------------------------------------------
remote: Your push was rejected because an LFS pointer pointed to a file that does not exist.
remote: For instance, this can happen if you used "git push --no-verify" to push your changes.
remote: Offending file: flax_model.msgpack
remote: -------------------------------------------------------------------------
To https://huggingface.co/joelb/distilbert-tutorial
! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://huggingface.co/joelb/distilbert-tutorial'
I never ran git push --no-verify
. I see there was a flax_model.msgpack
in Phil’s repo but it was deleted (Delete flax_model.msgpack · philschmid/distilbert-base-uncased-emotion at 3390c8d). I can’t find any remaining reference to it.