Comments (8)
I just setup a pytorch-311 build and can't repro this. Python 3.11.9. Do you have to run multiple times to repro or does it happen consistently?
from pytorch.
@eellison hmm.. this script repros it consistently for me. Like, when you run it, it goes through compilation for all the shapes without erroring?
from pytorch.
That's correct
from pytorch.
I tried to get it to repo on CI in #125331 but it seems to have green / with an unrelated failure. The error is definitely real though, because we see it in AO here: pytorch/ao#197
from pytorch.
What python version are you specifically ?
from pytorch.
There is an AST Parsing bug that was fixed in 3.11.8: pytest-dev/pytest#11724 (comment).
I'm using 3.11.9 here so maybe that explains it.
Can @Chillee or @cpuhrsch give your 3.11 versions ?
from pytorch.
Yeah i'm on 3.11.7
from pytorch.
I guess we can disable precompilation from 3.11.0 to 3.11.7 and print a warning.
which has been around in that form in python3.11 releases since 3.11.0b4 up to and including 3.11.7.
from pytorch.
Related Issues (20)
- RAM Not Freed on CPU After Moving Model with Multiple Transformers to CUDA
- [VIT Model] [perf Degradation] [X86] [ARM] torch.compile + weight prepacking results in perf degradation for VIT Transformer model
- Allowing topology writer to pass hints to accelerator backends
- Building libtorch for android fails
- Add `str` type to `device` parameter of `torch.cuda.get_device_name()`
- TYP: declare torch.utils in __all__
- Add `int` and `str` type to `device` parameter of `torch.tensor()`
- Extend Fake Tensor Caching to Symints
- backpropagation for sparse semi-structured
- Tracing through __getitem__ -> __len__ for ModuleList fails. HOT 4
- ops.masked with bool inputs leads to compile failure on CPU HOT 4
- Add testing for NJT serialization
- Triton kernel doing more work uses less registers HOT 1
- Histogram.cpp:74:6: internal compiler error: Segmentation fault
- [NestedTensor] Graph breaks with SDPA + NT constructor
- [ONNX] Support constant, buffer, parameters in ExportedProgram serialization to ONNX tensor HOT 2
- [dynamo] Handle inplace op aliasing errors
- `SobolEngine.draw` ignores `dtype` argument when default dtype is float64 HOT 1
- [ONNX] dynamo_export always uses external ONNX weights if the argument is ExportedProgram, even for small models HOT 2
- [FSDP2][2D] test_clip_grad_norm_2d is failing on main
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.