GithubHelp home page GithubHelp logo

M1 "cuda" Support ? about big-sleep HOT 10 OPEN

rrigoni avatar rrigoni commented on June 7, 2024
M1 "cuda" Support ?

from big-sleep.

Comments (10)

jnyheim avatar jnyheim commented on June 7, 2024

Same issue here.

I have yet been able to find a solution by my self, hoping this soon will be resolved.

from big-sleep.

WASasquatch avatar WASasquatch commented on June 7, 2024

Yeah, it's weird this is CUDA only, but over at deep-daze, it can be NVIDIA or AMD.

from big-sleep.

rrigoni avatar rrigoni commented on June 7, 2024

Pytorch now is compatible with M1 (see https://pytorch.org/blog/introducing-accelerated-pytorch-training-on-mac/). Are there any plans on big-sleep support it as well ot it will be only cuda?

from big-sleep.

htoyryla avatar htoyryla commented on June 7, 2024

M1 support is definitely not ready yet. I tried it, and could run some performance tests, but cuda ("mps") did not work correctly especially in the backward direction.

from big-sleep.

WASasquatch avatar WASasquatch commented on June 7, 2024

from big-sleep.

htoyryla avatar htoyryla commented on June 7, 2024

Does M1 even have Cuda? I don't see them listed on any specification. I
thouthg they had their own thing, called ALU Cores, not CUDA Cores.

Pytorch calls it mps, uses "metal shaders", see the link in rrgoni's comment.

from big-sleep.

WASasquatch avatar WASasquatch commented on June 7, 2024

from big-sleep.

htoyryla avatar htoyryla commented on June 7, 2024

OK. I'd be surprised though if people at pytorch would not know what they are doing, implementing accelerated tensor operations using mps.

Seen from an applications developer's point of view, what is available a the moment is not even alpha. Could not get a simple loss.backwards to work correctly. It runs, but does not converge like it does on cpu. Quite soon one also gets into "not implemented area". And finally, the speed improvement over cpu was not much.

PS. Now I got what you said... that there are several incompatible M1 GPU implementations?

from big-sleep.

WASasquatch avatar WASasquatch commented on June 7, 2024

from big-sleep.

htoyryla avatar htoyryla commented on June 7, 2024

I'll get my coat. I was hoping I would be able to get a M1 Studio to replace one of my linux boxes, but maybe not worth while expecting much.

Edit: Anyhow... I only wanted to comment that the M1 support is by no means ready. Without knowing the details, already a quick look at their issue tracker appeared to me to show that.

from big-sleep.

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.