I have done this multiple times in past successfully, however, as of last 2 days I am having issues, following exact same steps, which I am using on same machine, while uploading artifacts from SOME_REPO git throws me error file larger than 10MB. Here are the steps I am following:
python -m pip install huggingface_hub
huggingface-cli login
git clone https://huggingface.co/psmathur/SOME_REPO
cd SOME_REPO
git lfs install
huggingface-cli lfs-enable-largefiles .
cd ..
cp -r LOCAL_REPO/checkpoint SOME_REPO
cd SOME_REPO
git add .
git config --global user.email "MY_EMAIL@gmail.com"
git config --global user.name "MY_NAME"
git commit -m "Initial Commit"
git push
This throws me error error file larger then 10MB
Here is the huggingface-cli env
output:
- huggingface_hub version: 0.16.4
- Platform: Linux-5.15.0-1042-azure-x86_64-with-glibc2.31
- Python version: 3.10.0
- Running in iPython ?: No
- Running in notebook ?: No
- Running in Google Colab ?: No
- Token path ?: /home/azureuser/.cache/huggingface/token
- Has saved token ?: True
- Who am I ?: psmathur
- Configured git credential helpers: store
- FastAI: N/A
- Tensorflow: N/A
- Torch: 2.0.1
- Jinja2: 3.1.2
- Graphviz: N/A
- Pydot: N/A
- Pillow: N/A
- hf_transfer: N/A
- gradio: N/A
- tensorboard: N/A
- numpy: 1.25.2
- pydantic: N/A
- aiohttp: 3.8.5
- ENDPOINT: https://huggingface.co
- HUGGINGFACE_HUB_CACHE: /home/azureuser/.cache/huggingface/hub
- HUGGINGFACE_ASSETS_CACHE: /home/azureuser/.cache/huggingface/assets
- HF_TOKEN_PATH: /home/azureuser/.cache/huggingface/token
- HF_HUB_OFFLINE: False
- HF_HUB_DISABLE_TELEMETRY: False
- HF_HUB_DISABLE_PROGRESS_BARS: None
- HF_HUB_DISABLE_SYMLINKS_WARNING: False
- HF_HUB_DISABLE_EXPERIMENTAL_WARNING: False
- HF_HUB_DISABLE_IMPLICIT_TOKEN: False
- HF_HUB_ENABLE_HF_TRANSFER: False
Any suggestion would be highly appreciated.