Comments (2)
What are the strides of A
and B
?
from pytorch.
A
is the data I saved (attached here A.zip) and B
is just a zero tensor created by torch.zeros
. Running this code would give
A = torch.load('A.pt')
print(A.stride())
print(A.contiguous().stride())
print(A.clone().stride())
B = torch.zeros([1, 2048, 2048, 1], dtype=torch.complex64)
print(B.stride())
(4194304, 2048, 1)
(4194304, 2048, 1)
(4194304, 2048, 1)
(4194304, 2048, 1, 1)
from pytorch.
Related Issues (20)
- [ONNX] Simplify fake tensor export logic to get rid of the redundant model argument
- [ONNX] Support external tensors in ONNXProgram.save()
- [feature][cudagraph] API to clear a bad recording
- [ONNX] pad_sequence() is not exportable, with neither legacy onnx.export nor with dynamo_export
- [dynamo] Dynamic slicing on data-dependent value is not supported (regression from legacy ONNX)
- Triton Matrix Multiplication example invalid results (return zeros) on Volta
- pyyaml dependency error on Mac with source installation
- The dynamic compilation does not handle composite shapes with multiple dimensions very effectively
- BUG: `torch.pow(-0.0)` wrongly returns `-0.0` (should be +0.0)
- randn generates different output for 4x4 tensor size sliced to match shape of direct 2x4 or 4x2 and compare output HOT 1
- [feature request]: Update max onnx opset to 21 for onnxruntime==1.18 compatability
- ROCm 6.x appears Cannot find CO in the bundle libhipblaslt.so for ISA
- dynamo breaks when getting attributes of builtins
- tensordict functional calls with nn.Module silently gives the wrong (non-functional) result
- dynamo doesn't support `__torch_function__` on non-tensor classes
- RuntimeError: "_amp_foreach_non_finite_check_and_unscale_cuda" not implemented for 'BFloat16' HOT 2
- When training done, the mode output same result each tensor input. ( I tried many way to debug, but can't find any way to fix it, so i guess this is a bug ) HOT 1
- RuntimeError: MPS device does not support bmm for non-float inputs
- [Distributed] gloo backend, barrier operation is even slower than broadcast
- [ONNX] metadata
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.