Comments (2)
Minimal repro:
import torch
import torch._dynamo
torch._dynamo.config.capture_scalar_outputs = True
@torch.compile(fullgraph=True)
def f(x, w):
y = x.item()
torch._check(y % 4 == 0)
return x * w
print(f(torch.tensor(20), torch.randn(3)))
from pytorch.
We need to implement our own C-modulus SymPy class to fix this one.
from pytorch.
Related Issues (20)
- PyTorch DataLoader improvements for Iterable Dataset
- [inductor][cpu]detectron2_maskrcnn_r_101_fpn detectron2_maskrcnn_r_50_c4 accuracy check failed when freezing flag is on. HOT 2
- What is the processing principle when the complex64 input tensor contains nan or inf for addition? HOT 1
- [PT2E Quantization] `prepare_pt2e` produces inconsistent data types for primitive int
- Significant peformance regression in DDP for torch > 2.1 HOT 15
- Wrong Flag defined for ppc64le arch
- DISABLED test_comprehensive_special_bessel_y1_cuda_int32 (__main__.TestInductorOpInfoCUDA) HOT 2
- Setting a `float`, `complex` or `bool` type value to `precision` argument of `set_printoptions()` has problem when creating a `float`, `complex` or `bool` type tensor
- Fix torch._dynamo.exc.Unsupported: call_id withh args (UnspecializedNNModuleVariable() when TORCHDYNAMO_INLINE_INBUILT_NN_MODULES=1 HOT 1
- [NestedTensor] RelaxedUnspecConstraint failures due to mark_dynamic in NT constructor
- Lowering for the Average Pooling 3D backward operation HOT 1
- segfault when registering op with mismatched schema
- UNSTABLE pull / linux-focal-cuda12.4-py3.10-gcc9-sm86 / build HOT 1
- UNSTABLE pull / linux-focal-cuda12.4-py3.10-gcc9 / build HOT 1
- `torch.einsum` docs don't mention that `opt_einsum` must be installed separately
- Strict export fails when generating empty graph
- [dynamo] Detect mkldnn_max_pool2d/mkldnn view errors at tracing time
- [dynamo] Module tracker test errors in dynamo at runtime HOT 1
- [dynamo] Activation checkpointing tests erroring at runtime
- Multiple Inputs/Outputs with torch.onnx.dynamo_export
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.