Giter VIP home page Giter VIP logo

Comments (7)

ionutmodo avatar ionutmodo commented on September 22, 2024 1

The ldconfig application is in /sbin and the solution is to add this folder to PATH: export PATH=/sbin:$PATH

from cramming.

JonasGeiping avatar JonasGeiping commented on September 22, 2024

This looks like an OS problem, what's your OS?

Also, does a simple sanity check compile? Like shown here: https://pytorch.org/docs/stable/generated/torch.compile.html

from cramming.

JonasGeiping avatar JonasGeiping commented on September 22, 2024

And, have you tried just adding ldconfig to your path?

from cramming.

ionutmodo avatar ionutmodo commented on September 22, 2024

I am running on a cluster which I do not manage.

This is the output of uname -a showing my OS details: Linux gpu238 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux.

This is a sanity check compile:

Python 3.9.18 (main, Sep 11 2023, 13:41:44)
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> @torch.compile(options={"triton.cudagraphs": True}, fullgraph=True)
... def foo(x):
...     return torch.sin(x) + torch.cos(x)
...
>>> torch.pi
3.141592653589793
>>> a = torch.tensor([torch.pi], dtype=torch.float)
>>> foo(a)
skipping cudagraphs for unknown reason
tensor([-1.0000])
>>> foo(a)
tensor([-1.0000])
>>> foo(a)
tensor([-1.0000])
>>>

from cramming.

JonasGeiping avatar JonasGeiping commented on September 22, 2024

skipping cudagraphs for unknown reasons sounds a bit suspicious.

Does the sanity check also work with options={"triton.cudagraphs": True}, "permute_fusion": True, "shape_padding": True}, with tensors on GPU?

P.S: Does ldconfig actually exist ( ldconfig --usage)?

from cramming.

ionutmodo avatar ionutmodo commented on September 22, 2024

it seems like ldconfig does not exist, but when I type man ldconfig, I get the usage instructions. I will get in touch with my system administrator. Thank you for your help, I will get back to you once we solve this issue.

from cramming.

JonasGeiping avatar JonasGeiping commented on September 22, 2024

Great! I'm still a bit surprised that this isn't on your debian path by default, but I'm glad this works.

from cramming.

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.