-
Notifications
You must be signed in to change notification settings - Fork 143
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
[Installation] Installing inside Docker container #228
Comments
Hi @aldipiroli , thanks for your interest and efforts in integrating TorchSparse to docker containers. For the first method (building from source), since the source code of TorchSparse 2.1.0 is currently undergoing internal quality checks, it is not available for use yet. The code you are using is not v2.1.0. For the second method, the One possible solution is to reinstall PyTorch through Alternatively, you can try pulling a different PyTorch docker image to solve the problem. Below is a sample dockerfile that you can try:
|
@ys-2020 thank you very much for your answer! |
Is there an existing issue for this?
Have you followed all the steps in the FAQ?
Current Behavior
I am trying to install
torchsparse v2.1.0
inside a docker container, specifically the NVIDIA pytorch containers.Unfortunately, so I was not successful in installing it. However, I believe it might be useful also to other people to have an official docker container with
torchsparse
installed.Here is what I tried so far.
Installing from soruce:
The Dockerfile:
docker build -t torchsparse .
Installing from the pre-build wheels:
The Dockerfile, using nvcr.io/nvidia/pytorch:22.08-py3, which has
pytorch==1.13
andCUDA 11.7.1
:docker build -t torchsparse .
undefined symbol
error when using the installation scriptpython -c "$(curl -fsSL https://raw.githubusercontent.com/mit-han-lab/torchsparse/master/install.py)"
torch2.1cu12.1
,torch2.1cu12.0
,torch1.13cu11.7
, ... . All yield to similar errors.Do you have any suggestion on how I can proceed?
Error Line
First method:
Second method:
Environment
Full Error Log
Error Log
[PUT YOUR ERROR LOG HERE]
The text was updated successfully, but these errors were encountered: