Giter VIP home page Giter VIP logo

Comments (1)

nicholasruha avatar nicholasruha commented on June 7, 2024

I got a similar error because I'm using a gtx 1080 and I got this warning
RuntimeError: Found NVIDIA GeForce GTX 1080 which is too old to be supported by the triton GPU compiler, which is used as the backend. Triton only supports devices of CUDA Capability >= 7.0, but your device is of CUDA capability 6.

When I tried running torch._dynamo.config.suppress_errors = True I would get an error saying torch does not have a module called "_dynamo". So I turned compile off and the error went away.

But apparently you can import _dynamo.config like this
import torch._dynamo.config

Now when I call
torch._dynamo.config.suppress_errors = True
The error is suppressed, although I am not how much it impacts the benefits of using torch.compile.

You can also make the error go away by changing the backend used when running torch.compile.
The backend parameter defaults to "inductor", so this is what it will default look like
torch.compile(model, backend='inductor')

If you want to look at the other backends available to you, run torch._dynamo.list_backends() to list non-experimental backends or torch._dynamo.list_backends(None) to list experimental backends.

For completeness I'm using this version of pytorch
2.1.0.dev20230313+cu117

from palm-rlhf-pytorch.

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.