Giter Site home page Giter Site logo

Comments (9)

ayush0x00 avatar ayush0x00 commented on May 20, 2024

Hey @joaquimgomez I think the issue is fixed on torch==2.3.0.dev20240212 It's working fine on my machine.

Screenshot 2024-04-27 at 7 47 38 PM

from pytorch.

malfet avatar malfet commented on May 20, 2024

@ayush0x00 are you on Intel or Apple Silicon Mac? It works my M2, but it's very likely broken on Intel machines

from pytorch.

ayush0x00 avatar ayush0x00 commented on May 20, 2024

@ayush0x00 are you on Intel or Apple Silicon Mac? It works my M2, but it's very likely broken on Intel machines

I am using it on Apple silicon M1. Not sure about intel machines then. Any way of verifying it on intel?

from pytorch.

ayush0x00 avatar ayush0x00 commented on May 20, 2024

@joaquimgomez could you verify if it works when using device=torch.device("cpu")?

from pytorch.

joaquimgomez avatar joaquimgomez commented on May 20, 2024

I tested it on a Linux machine with an Intel Xeon E5645 and it works.

In my M2 Max, if device=torch.device("cpu") it works @ayush0x00 . It also works if x is in MPS but mask is in the CPU. I did the tests with 2.3.0 and 2.4.0a0+git94b328e and it is still not working well when both are in MPS.

from pytorch.

ayush0x00 avatar ayush0x00 commented on May 20, 2024

@joaquimgomez I guess Apple has discontinued its support for Intel GPUs. Have a look at this thread. So unless you are working on Apple silicon, I think device(mps) won't work.

from pytorch.

joaquimgomez avatar joaquimgomez commented on May 20, 2024

No, sorry for the misunderstanding. I'm working on an Apple Silicon, a MacBook Pro 14'' 2023 with an M2 Max.

from pytorch.

ayush0x00 avatar ayush0x00 commented on May 20, 2024

@joaquimgomez maybe try updating torch. It works fine on my mac, which runs M1 silicon.

from pytorch.

joaquimgomez avatar joaquimgomez commented on May 20, 2024

Tried to update torch without compiling it by myself and it works now. Thanks.

from 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.