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

docker/Dockerfile.torch occurs errors #720

Closed
b3y0nd opened this issue Jul 16, 2023 · 4 comments
Closed

docker/Dockerfile.torch occurs errors #720

b3y0nd opened this issue Jul 16, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@b3y0nd
Copy link

b3y0nd commented Jul 16, 2023

Branch/Tag/Commit

main

Docker Image Version

nvcr.io/nvidia/pytorch:22.09-py3

GPU name

RTX 3060ti

CUDA Driver

525.116.04

Reproduced Steps

when run git submodule update --init --recursive in Dockerfile.torch line 34, the errors occurs:fatal: not a git repository (or any of the parent directories): .git. This is because the current folder is not a Git project folder. Consider deleting it or adjusting your code to resolve this issue.
@b3y0nd b3y0nd added the bug Something isn't working label Jul 16, 2023
@duongkstn
Copy link

Same issue. Any updates ?

@duongkstn
Copy link

duongkstn commented Aug 15, 2023

Hi, may be I know how to tackle your issue.
It might be due to your path (when typing docker build) was wrong.
In more details, my issue appear when I was in folder FasterTransformer/docker and typed sudo nvidia-docker build -t ft -f Dockerfile.torch .

But then I changed folder path to FasterTransformer and typed sudo nvidia-docker build -t ft -f ./docker/Dockerfile.torch ., the issue disappeared !

Hope this helps !

@b3y0nd
Copy link
Author

b3y0nd commented Sep 21, 2023

Hi, may be I know how to tackle your issue. It might be due to your path (when typing docker build) was wrong. In more details, my issue appear when I was in folder FasterTransformer/docker and typed sudo nvidia-docker build -t ft -f Dockerfile.torch .

But then I changed folder path to FasterTransformer and typed sudo nvidia-docker build -t ft -f ./docker/Dockerfile.torch ., the issue disappeared !

Hope this helps !

thanks for your reply. I'll try later

@b3y0nd b3y0nd closed this as completed Sep 21, 2023
@thusinh1969
Copy link

So buggy ! Still can not build Docker, this error leads to another...!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants