Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git clone https://huggingface.co/fudan-generative-ai/hallo fails with "smudge filter lfs failed" #72

Closed
rolux opened this issue Jun 20, 2024 · 4 comments
Assignees

Comments

@rolux
Copy link

rolux commented Jun 20, 2024

Currently,

!git lfs install
!git clone https://huggingface.co/fudan-generative-ai/hallo pretrained_models

fails with:

Updated git hooks.
Git LFS initialized.
Cloning into 'pretrained_models'...
remote: Enumerating objects: 61, done.
remote: Counting objects: 100% (57/57), done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 61 (delta 8), reused 0 (delta 0), pack-reused 4 (from 1)
Unpacking objects: 100% (61/61), 17.38 KiB | 26.00 KiB/s, done.
Downloading hallo/net.pth (4.9 GB)
Error downloading object: hallo/net.pth (e886a96): Smudge error: Error downloading hallo/net.pth (e886a9610b71a0f05a4cc65b4eb5bf3cebabfc75b06f8818c40ac225e69a0015): expected OID e886a9610b71a0f05a4cc65b4eb5bf3cebabfc75b06f8818c40ac225e69a0015, got 974a61a7c6ef1748966794cfba0f2535831680593c781791e671f49dad3c7300 after 4850540707 bytes written

Errors logged to /content/drive/MyDrive/hallo/source/hallo/pretrained_models/.git/lfs/logs/20240620T194058.384401071.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: hallo/net.pth: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
@AricGamma
Copy link
Member

Please try to download this model in another way. We are trying to deal with this problem.

@AricGamma AricGamma self-assigned this Jun 21, 2024
@rolux
Copy link
Author

rolux commented Jun 21, 2024

Please try to download this model in another way. We are trying to deal with this problem.

Downloading the model manually works fine.

@AricGamma
Copy link
Member

Duplicate of git-lfs/git-lfs#5548

@AricGamma AricGamma marked this as a duplicate of git-lfs/git-lfs#5548 Jun 21, 2024
@AricGamma
Copy link
Member

Fixed. Please check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants