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

Failed to clone due to lfs failed to download libnvinfer.so.7.9.0.gz #14

Open
lenLRX opened this issue Jan 28, 2021 · 10 comments
Open

Failed to clone due to lfs failed to download libnvinfer.so.7.9.0.gz #14

lenLRX opened this issue Jan 28, 2021 · 10 comments

Comments

@lenLRX
Copy link

lenLRX commented Jan 28, 2021

When I tried to clone the repo, I got the following error:
Is that possible to fix this problem? Maybe some lfs obj should be pushed again?

git clone https://github.com/mlcommons/inference_results_v0.7.git
Cloning into 'inference_results_v0.7'...
remote: Enumerating objects: 17, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 32799 (delta 4), reused 8 (delta 3), pack-reused 32782
Receiving objects: 100% (32799/32799), 205.18 MiB | 1.62 MiB/s, done.
Resolving deltas: 100% (12685/12685), done.
Updating files: 100% (31842/31842), done.
Downloading open/NVIDIA/code/bert/tensorrt_sparse/TensorRT-preview/lib/libnvinfer.so.7.9.0.gz (103 MB)
Error downloading object: open/NVIDIA/code/bert/tensorrt_sparse/TensorRT-preview/lib/libnvinfer.so.7.9.0.gz (24242fe): Smudge error: Error downloading open/NVIDIA/code/bert/tensorrt_sparse/TensorRT-preview/lib/libnvinfer.so.7.9.0.gz (24242fed821ce54a53513cd02c5f4987d5eeb7864171af988798f9c62bd7a161): [24242fed821ce54a53513cd02c5f4987d5eeb7864171af988798f9c62bd7a161] Object does not exist on the server: [404] Object does not exist on the server

Errors logged to /data/inference_results_v0.7/.git/lfs/logs/20210128T222321.198206086.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: open/NVIDIA/code/bert/tensorrt_sparse/TensorRT-preview/lib/libnvinfer.so.7.9.0.gz: 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 :/'
@nvpohanh
Copy link

@lenLRX If you do git clone https://github.com/mlperf/inference_results_v0.7.git instead, does it work?

@lenLRX
Copy link
Author

lenLRX commented Jan 29, 2021

@lenLRX If you do git clone https://github.com/mlperf/inference_results_v0.7.git instead, does it work?

I just tried to clone from this address git clone https://github.com/mlperf/inference_results_v0.7.git and got the same error as mlcommon repo

@nvpohanh
Copy link

Could you then try GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/mlcommons/inference_results_v0.7.git?

@guschmue seems that the Git-LFS has some issue?

@lenLRX
Copy link
Author

lenLRX commented Jan 29, 2021

Could you then try GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/mlcommons/inference_results_v0.7.git?

@guschmue seems that the Git-LFS has some issue?

It fixes the clone issue, but git lfs pull still failed.
I am looking for downloading the libnvifo. so

@nvpohanh
Copy link

I see. @guschmue What would be a good way we fix this? It would be quite bad that someone can't even clone this repo.

I have the build locally. Is there a way I can push to Git-LFS server directly? 🤔

@guschmue
Copy link
Contributor

Hm, I didn't realize that lfs was involved. Thought that would require some setup which we didn't do.
Let me look at it.

@lenLRX
Copy link
Author

lenLRX commented Feb 2, 2021

Hm, I didn't realize that lfs was involved. Thought that would require some setup which we didn't do.
Let me look at it.

Any idea to fix it?
Maybe an PR from @nvpohanh can fix? Or it has to be someone with the write access to this repo to upload the lfs object?

@nvpohanh
Copy link

nvpohanh commented Feb 3, 2021

@guschmue Could you do the following?

  • Clone the repo with GIT_LFS_SKIP_SMUDGE=1
  • Download the file
  • Put it at open/NVIDIA/code/bert/tensorrt_sparse/TensorRT-preview/lib/libnvinfer.so.7.9.0.gz
  • git add open/NVIDIA/code/bert/tensorrt_sparse/TensorRT-preview/lib/libnvinfer.so.7.9.0.gz
  • git lfs push origin master

Thanks

@guschmue
Copy link
Contributor

guschmue commented Feb 3, 2021

just tried but it doesn't push anything, I think it does know about the file already.
git lfs ls-files -s shows
24242fed82 - open/NVIDIA/code/bert/tensorrt_sparse/TensorRT-preview/lib/libnvinfer.so.7.9.0.gz (103 MB)

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