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

install from git fails because of LFS on google colab #113

Open
rsxdalv opened this issue Oct 5, 2024 · 2 comments
Open

install from git fails because of LFS on google colab #113

rsxdalv opened this issue Oct 5, 2024 · 2 comments

Comments

@rsxdalv
Copy link

rsxdalv commented Oct 5, 2024

There might be a misconfiguration within the project when it is being installed, or perhaps it's just due to how pip installs git packages:

error: Failed to download and build: `descript-audiotools @ git+[https://github.com/rsxdalv/audiotools@release#egg=descript-audiotools`](https://github.com/rsxdalv/audiotools@release#egg=descript-audiotools%60)
  Caused by: Git operation failed
  Caused by: process didn't exit successfully: `git reset --hard 8a57895e2e52f8146fd3176e65ec631035dbf6a0` (exit status: 128)
--- stderr
Downloading tests/audio/ir/h179_Bar_1txts.wav (50 KB)
Error downloading object: tests/audio/ir/h179_Bar_1txts.wav (206aee1): Smudge error: Error downloading tests/audio/ir/h179_Bar_1txts.wav (206aee1e87c966ead8a5755b2b90470eaa7c19d55ddbbbeca263ce203c8cab3a): error transferring "206aee1e87c966ead8a5755b2b90470eaa7c19d55ddbbbeca263ce203c8cab3a": [0] remote missing object 206aee1e87c966ead8a5755b2b90470eaa7c19d55ddbbbeca263ce203c8cab3a

Errors logged to /root/.cache/uv/git-v0/checkouts/110b8c219402cfcb/8a57895/.git/lfs/logs/20241005T223441.548275718.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: tests/audio/ir/h179_Bar_1txts.wav: smudge filter lfs failed

My question is also about why are these files are in git lfs given their tiny size.

@signorinileandro
Copy link

I'm getting the same error, could you fix it?

@freesiafreesia
Copy link

https://stackoverflow.com/questions/46521122/smudge-error-error-downloading

This worked for me.

git lfs install --skip-smudge
pip install git+https://github.com/descriptinc/audiotools
git lfs install --force

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

No branches or pull requests

3 participants