Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sharktank] Use reshape instead of view (#681)
Fixes `RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.` by using `reshape` which occurs when running `tests/layers/mmdit_test.py` with Python 3.11.10 and `torch==2.5.1+cpu`.
- Loading branch information