Comments (9)
Hey @joaquimgomez I think the issue is fixed on torch==2.3.0.dev20240212
It's working fine on my machine.
from pytorch.
@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 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.
@joaquimgomez could you verify if it works when using device=torch.device("cpu")
?
from pytorch.
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.
@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.
No, sorry for the misunderstanding. I'm working on an Apple Silicon, a MacBook Pro 14'' 2023 with an M2 Max.
from pytorch.
@joaquimgomez maybe try updating torch. It works fine on my mac, which runs M1 silicon.
from pytorch.
Tried to update torch without compiling it by myself and it works now. Thanks.
from pytorch.
Related Issues (20)
- Wrong formula for log_prob in Normal distribution (I was wrong, sry ))
- `torch.set_default_device` does not change `torch.Tensor().device`
- [Inductor] Masked `tl.load` operations should explicitly include `other` if the masked out values are expected to be used
- Inductor: Codegen for sympy Trunc is incorrect
- Dynamo benchmarks direct arg passing doesn't work
- ncclCommWatchdog always terminates the process and prevents error handling if CUDA context is corrupted
- torch compiler bisect tool
- [AOTI][UX] One has no way of knowing whether they need to load DSO as CPU or CUDA runner HOT 1
- 2D TP+FSDP with device mesh HOT 1
- Error: Exporting the operator 'aten::searchsorted' to ONNX opset version 17
- [RFC] Deprecation support for Amazon Linux 2 support for PyTorch Release 2.5 HOT 1
- log shapes + dtypes in Flight Recorder logs
- `torch.compiler.allow_in_graph` does not create a `call_module` op in fx.Graph in torch 2.3.0
- codegen error on .item() as a Triton kernel arg
- RuntimeError when using Adam(fused=True) with torch.compile
- DCP sees 1/2 of the expected size of each tensor in 3D parallel
- [Pipelining] Support for uneven microbatch sizes
- Distributed Checkpoint doesn't verify shapes are correct
- UserWarning: Plan failed with a cudnnException: CUDNN_BACKEND_EXECUTION_PLAN_DESCRIPTOR
- [ONNX] export() with dynamic shapes fails when only part of input dimensions are dynamic HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch.