Comments (3)
I also encounter this error when using my RTX 4060 graphics card, the error is the same as yours (MinkowskiEngine/src/gpu.cu:100
) when I set the SparseTensorQuantizationMode to UNWEIGHTED_AVERAGE, but there is no error when it is set to RANDOM_SUBSAMPLE.
Have you find the solution? Thx!
from minkowskiengine.
I also encounter the same error using RTX 4090
RuntimeError: at /tmp/pip-req-build-up7naarj/src/gpu.cu:100
from minkowskiengine.
@chrischoy Same problem still unsolved, could you please provide any suggestions?
RTX4090, python=3.8, pytorch=1.10.0-cu111, pytorch-lightning=1.9.0, MinkowskiEngine=0.5.4
If quantization_mode=ME.SparseTensorQuantizationMode.UNWEIGHTED_AVERAGE
, it will cause RuntimeError:
File "/home/user/Projects/MosPretrain/scripts/train.py", line 101, in <module>
main()
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/user/Projects/MosPretrain/scripts/train.py", line 97, in main
trainer.fit(model, train_dataloader, val_dataloader, ckpt_path=resume)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 608, in fit
call._call_and_handle_interrupt(
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/trainer/call.py", line 36, in _call_and_handle_interrupt
return trainer.strategy.launcher.launch(trainer_fn, *args, trainer=trainer, **kwargs)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/strategies/launchers/subprocess_script.py", line 88, in launch
return function(*args, **kwargs)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 650, in _fit_impl
self._run(model, ckpt_path=self.ckpt_path)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1103, in _run
results = self._run_stage()
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1182, in _run_stage
self._run_train()
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1195, in _run_train
self._run_sanity_check()
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1267, in _run_sanity_check
val_loop.run()
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/loops/loop.py", line 199, in run
self.advance(*args, **kwargs)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/loops/dataloader/evaluation_loop.py", line 152, in advance
dl_outputs = self.epoch_loop.run(self._data_fetcher, dl_max_batches, kwargs)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/loops/loop.py", line 199, in run
self.advance(*args, **kwargs)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/loops/epoch/evaluation_epoch_loop.py", line 137, in advance
output = self._evaluation_step(**kwargs)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/loops/epoch/evaluation_epoch_loop.py", line 234, in _evaluation_step
output = self.trainer._call_strategy_hook(hook_name, *kwargs.values())
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1485, in _call_strategy_hook
output = fn(*args, **kwargs)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/strategies/ddp.py", line 359, in validation_step
return self.model(*args, **kwargs)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 886, in forward
output = self.module(*inputs[0], **kwargs[0])
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/pytorch_lightning/overrides/base.py", line 110, in forward
return self._forward_module.validation_step(*inputs, **kwargs)
File "/home/user/Projects/MosPretrain/src/mos4d/models/nusc_models.py", line 88, in validation_step
out = self.forward(point_clouds)
File "/home/user/Projects/MosPretrain/src/mos4d/models/nusc_models.py", line 61, in forward
out = self.model(past_point_clouds)
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/home/user/Projects/MosPretrain/src/mos4d/models/nusc_models.py", line 200, in forward
sparse_tensor = tensor_field.sparse()
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/MinkowskiEngine-0.5.4-py3.8-linux-x86_64.egg/MinkowskiEngine/MinkowskiTensorField.py", line 354, in sparse
features = MinkowskiSPMMAverageFunction().apply(
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/MinkowskiEngine-0.5.4-py3.8-linux-x86_64.egg/MinkowskiEngine/sparse_matrix_functions.py", line 183, in forward
result, COO, vals = spmm_average(
File "/home/user/anaconda3/envs/4dmos/lib/python3.8/site-packages/MinkowskiEngine-0.5.4-py3.8-linux-x86_64.egg/MinkowskiEngine/sparse_matrix_functions.py", line 93, in spmm_average
result, COO, vals = MEB.coo_spmm_average_int32(
RuntimeError: <unknown> at /home/user/Installations/MinkowskiEngine/src/gpu.cu:100
from minkowskiengine.
Related Issues (20)
- Minkownski Convolution with stride 2 and Kernel Size 4
- GPU memory leak when runing multiplication
- Clarification on SparseTensor representation of pointcloud coordinates.
- gradient backward question
- Program terminated when trying to get a kernel_map
- pip uninstall minkowskiengine won't work for me HOT 2
- How can I do matrix multiplication based on MinkowskiEngine?
- Coordinate arrangement sequence
- ERROR: Could not build wheels for MinkowskiEngine, which is required to install pyproject.toml-based projects HOT 2
- return_maps_only arg in sparse_quantize HOT 2
- Failed to install the latest MinkowskiEngine
- 209 cudaErrorNoKernelImageForDevice no kernel image is available for execution on the device HOT 2
- Support for H100? (TORCH_CUDA_ARCH_LIST=9.0)
- "CUSPARSE_SPMM_ALG_DEFAULT" is undefined
- nvcc fatal : Unsupported gpu architecture 'compute_89' HOT 5
- Empty SparseTensor convolution segfault HOT 1
- Compile Test Failed
- Neither train nor eval work in completion.py inside v0.5.4 container
- it seems like the MinkowskiEngine is not compatible with CUDA 12 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minkowskiengine.