Git Product home page Git Product logo

Comments (8)

dfalbel avatar dfalbel commented on July 28, 2024 1

Hi!

Sorry, currently we don't support GPU builds on Windows. I just opened #265 to track it.

from torch.

skeydan avatar skeydan commented on July 28, 2024
lantern_install_path <- function() {
  normalizePath(file.path(system.file("", package = "torchr"), "deps"), mustWork = FALSE)
}

does not exist after I built from source... trying installation from github now.

from torch.

skeydan avatar skeydan commented on July 28, 2024

OK so it was the path problem... libtorch gets installed successfully if I install from github...

So I guess questions (1) and (2) still remain, and (3) would now be why - when I build myself - the package is not installed in the official R library?

from torch.

javierluraschi avatar javierluraschi commented on July 28, 2024

Should be mostly resolved with #74, now we install the GPU version if the right version of CUDA is detected. We can also manually run install_torch(type = "10.1") for a specific CUDA version.

from torch.

skeydan avatar skeydan commented on July 28, 2024

nice!

from torch.

fkgruber avatar fkgruber commented on July 28, 2024

Should be mostly resolved with #74, now we install the GPU version if the right version of CUDA is detected. We can also manually run install_torch(type = "10.1") for a specific CUDA version.

How do I install torch on windows with GPU support? I'm using 10.1. Tried the command above and got:

install_torch(type = "10.1")
Error in lantern_install_libs(version, type, path) : 
  The windows operating system is currently unsupported.
> 

By default it is installing the CPU version.

thanks
FKG

from torch.

bearloga avatar bearloga commented on July 28, 2024

Same error :( Perhaps install_torch() could detect/parse presence of CUDA_PATH environment variable?

from torch.

dfalbel avatar dfalbel commented on July 28, 2024

We now support GPU's on Windows with #281 .

from torch.

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.