-
Notifications
You must be signed in to change notification settings - Fork 4
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
Cannot transform tensor to CUDA after "from diff_gaussian_rasterization import GaussianRasterizationSettings, GaussianRasterizer" #1
Comments
Hi, |
Thanks for your reply. |
There seems to be a mismatch between the CUDA compiler and the NVIDIA driver. If updating the driver is not an option, downgrading NVCC to 11.1 and installing a pytorch version compiled with cuda 11.1 should solve the issue. Note that we have not tested our codebase with these versions. |
Thanks for your suggestion. |
Given your constraints, this is the best solution that comes to mind and it is likely to work. Again, we have not tested with CUDA 11.1 or pytorch 1.x. |
Thanks for your help, I will try this |
To ensure pytorch is also compatible with your driver, I would install an older pytorch version.
|
This version of pytorch requires an older python version:
|
Hi |
Hi! Thanks for your great work!
But I have some issues with this pacakage.
I try to import torch and transform tensor to CUDA after I install package, but it error like the image below
(hierarchical_3d_gaussians) vinai@gausian-splatting:/data/Phat/hierarchical-3d-gaussians$ nvidia-smi
Sun Aug 18 08:29:35 2024
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.80 Driver Version: 460.80 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce RTX 208... Off | 00000000:17:00.0 Off | N/A |
| 44% 44C P0 56W / 260W | 0MiB / 11019MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
(hierarchical_3d_gaussians) vinai@gausian-splatting:/data/Phat/hierarchical-3d-gaussians$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:33:58_PDT_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0
P/s : g++ and gcc have version 11.2
Can you help me for this issues ? Thanks for your help
The text was updated successfully, but these errors were encountered: