Giter Site home page Giter Site logo

Comments (13)

vlaminckaxel avatar vlaminckaxel commented on August 18, 2024 2

Can we tag a new release with these improvements?

from torch-points-kernels.

nicolas-chaulet avatar nicolas-chaulet commented on August 18, 2024

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.

DLwbm123 avatar DLwbm123 commented on August 18, 2024

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.

nicolas-chaulet avatar nicolas-chaulet commented on August 18, 2024

Not at the moment no... You could clone the repo and deactivate CUDA install manually before installing from source.

from torch-points-kernels.

vlaminckaxel avatar vlaminckaxel commented on August 18, 2024

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.

nicolas-chaulet avatar nicolas-chaulet commented on August 18, 2024

Do you think that would work when installing the package in a docker image (for example during CI)?

from torch-points-kernels.

vlaminckaxel avatar vlaminckaxel commented on August 18, 2024

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.

nicolas-chaulet avatar nicolas-chaulet commented on August 18, 2024

@CCInc This was solved right?

from torch-points-kernels.

CCInc avatar CCInc commented on August 18, 2024

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.

nicolas-chaulet avatar nicolas-chaulet commented on August 18, 2024

Yes doing that now!

from torch-points-kernels.

nicolas-chaulet avatar nicolas-chaulet commented on August 18, 2024

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.

Stakhan avatar Stakhan commented on August 18, 2024

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.

nicolas-chaulet avatar nicolas-chaulet commented on August 18, 2024

Thanks!

from torch-points-kernels.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.