Code Monkey home page Code Monkey logo

Comments (4)

hadim avatar hadim commented on August 17, 2024

I guess that would be important to have a conda-forge Cuda package first: conda-forge/staged-recipes#6240

But you could still create the recipe now for pytorch-cpu and enable the GPU build when this cuda PR is merged.

from builder.

hadim avatar hadim commented on August 17, 2024

As for the differents Cuda version build, the new build variants of conda 3.0 could be used: https://conda.io/docs/user-guide/tasks/build-packages/variants.html.

One recipe will be sufficient to build all the different packages.

from builder.

hadim avatar hadim commented on August 17, 2024

That would also allow building pytorch with a CentOS6 glibc version (often default on universities cluster unfortunately...).

Ping @pjh5

from builder.

soumith avatar soumith commented on August 17, 2024

we dont expect to be in conda-forge for some time for various reasons:

  • one is staffing, we are quite low-staffed on the builds right now, and cannot maintain SLAs for conda-forge changes that might be needed
  • the second is that our builds take several hours on 40-core powerful servers, they take 3x more time on Azure pipelines and Travis machines (we build the binaries for 7 CUDA architectures which is what makes them so long, and on top of that, we build for 3 to 4 CUDA versions)
  • the third is that CuDNN and NCCL often have known bugs that are not fixed until the next release cycle (months away), so we are very particular about controlling our versions and statically linking them for these libraries, which is not in conda-forge spirit
  • the fourth is that we dont have stable builds yet, and we need to be in control of our destiny for a bit and keep tweaking things several times before we get to a working stable binary, so we prefer to control our build scripts tightly and push to them quickly

Also we cannot build on CentOS6

  • because it's default shipped libstdc++ has a bug that we run into.
  • various CUDA bits are almost not supported on CentOS6

We used to build (and I took various pains to make sure binaries until 0.3.0 are built on CentOS6), but at some point we had big blockers that we ran into, and I gave up and switched to CentOS7. Thankfully universities are now largely switching to CentOS7.

from builder.

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.