Comments (13)
Can we tag a new release with these improvements?
from torch-points-kernels.
There is no way to force CPU only at the moment. If you have a GPU it will compile the CUDA kernels. Is this a problem?
from torch-points-kernels.
Yes, I tried to install with torch==1.1.0 and CUDA 9.0 and failed with the same error("TORCH_CHECK") in #37 . The installation is successful on my laptop without GPU. So I wonder if torch-points-kernels can be installed with CPU only.
from torch-points-kernels.
Not at the moment no... You could clone the repo and deactivate CUDA install manually before installing from source.
from torch-points-kernels.
We also could just install the cuda ops when the gpu version of torch is installed.
https://github.com/nicolas-chaulet/torch-points-kernels/pull/60
from torch-points-kernels.
Do you think that would work when installing the package in a docker image (for example during CI)?
from torch-points-kernels.
If we have a docker with Cuda installed it should be possible.
But to test not only the compilation of the ops we also should have a GPU instance.
I will upgrade the cicd pipeline.
from torch-points-kernels.
@CCInc This was solved right?
from torch-points-kernels.
With the new version, I think the CPU version of torch will only install the CPU ops automatically. Existing docker images will need to be updated to use FORCE_CUDA=1
to compile the GPU ops. In any case, you can force CPU only installation with FORCE_ONLY_CPU=1
.
from torch-points-kernels.
Yes doing that now!
from torch-points-kernels.
Ok, 0.7.0 should be published now! Let me know if that works for you and we can close this issue.
from torch-points-kernels.
Hi there,
I was also trying to install torch-points-kernels (to further install torch-points3d) with CPU only version and I can confirm it works on my side (Ubuntu 20.04) with version 0.7.0.
from torch-points-kernels.
Thanks!
from torch-points-kernels.
Related Issues (20)
- "CUDA error: No kernel image" still exists after reinstalling torch-points-kernels
- Fail to built HOT 1
- Probably you should update your installation tutorial timely. HOT 1
- Failed to install torch-points-kernels HOT 2
- import torch_points_kernels.points_cpu as tpcpu ModuleNotFoundError: No module named 'torch_points_kernels.points_cpu' HOT 1
- Both batches need to have the same number of samples HOT 4
- Trouble compiling HOT 3
- Problem about the chamfer distance
- ERROR: Failed building wheel for torch-points-kernels HOT 1
- Failed building wheel and failed running setup.py HOT 4
- ImportError: torch_points_kernels/points_cpu.so: undefined symbol: _ZNK2at6Tensor4normEN3c108optionalINS1_6ScalarEEENS1_8ArrayRefIlEEb HOT 4
- I can‘t install this module successfully,what is the process? HOT 5
- if only torch-cpu, couldn't install this mould?
- poetry doesn't work HOT 1
- Create Conda Package HOT 10
- Numpy version HOT 7
- ModuleNotFoundError: No module named 'torch_points_kernels.points_cuda' HOT 2
- Contributing to versions to pypi HOT 3
- build torch-points-kernels HOT 1
- Getting CUDA arch error while building from source. HOT 3
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 torch-points-kernels.