During git clone: encounters 2 file(s) that may not have been copied correctly on Windows

#21
by guynich - opened

Describe the bug
I try a git clone of this repo on Ubuntu 22.04.5 LTS.
The download of two .safetensors files fails with an error message relating to Windows.

To Reproduce
Running on Ubuntu 22.04.5 LTS

sudo update
sudo apt install -y git git-lfs

git lfs install
git clone https://huggingface.co/deepseek-ai/DeepSeek-R1-0528-Qwen3-8B

The error seen is:

$ git clone https://huggingface.co/deepseek-ai/DeepSeek-R1-0528-Qwen3-8B                  
Cloning into 'DeepSeek-R1-0528-Qwen3-8B'...                                                                                              
remote: Enumerating objects: 20, done.                                                                                                   
remote: Counting objects: 100% (17/17), done.                                                                                            
remote: Compressing objects: 100% (16/16), done.                                                                                         
remote: Total 20 (delta 3), reused 0 (delta 0), pack-reused 3 (from 1)                                                                   
Unpacking objects: 100% (20/20), 1.89 MiB | 5.33 MiB/s, done.                                                                            
Filtering content: 100% (3/3), 3.25 GiB | 14.13 MiB/s, done.                                                                             
Encountered 2 file(s) that may not have been copied correctly on Windows:                                                                
        model-00002-of-000002.safetensors                                                                                                
        model-00001-of-000002.safetensors                                                                                                
                                                                                                                                         
See: `git lfs help smudge` for more details.                                                                                             
$

I check git lfs help smudge and it says:

Known bugs
----------
On Windows, Git does not handle files in the working tree larger than 4 gigabytes.

Expected behavior
git clone of the repo onto Ubuntu 22.04.5 LTS without warning messages about incorrectly copied files.

Desktop (please complete the following information):

  • OS: Ubuntu 22.04.5 LTS Desktop
  • Disk: 627G free drive space for the git clone repo.

Additional context
I have run git clone successfully for Qwen3-8B and Qwen3-1.7B models from HuggingFace Qwen repos without this issue on the same computer.

Sign up or log in to comment