We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Calling ttnn.full with this shape (1, 50257) with TILE_LAYOUT on device gives a segfault. (This shape is used in GPTNeo.)
ttnn.full
(1, 50257)
TILE_LAYOUT
To Reproduce
import ttnn with ttnn.manage_device(device_id=0) as device: ttnn_full = ttnn.full((1, 50257), layout = ttnn.TILE_LAYOUT, fill_value = 1.0, device = device)
Segmentation fault (core dumped)
However, if I have ttnn.full default to ROW_MAJOR_LAYOUT and call ttnn.to_layout to TILE_LAYOUT after, I do not get any errors.
ROW_MAJOR_LAYOUT
ttnn.to_layout
import ttnn with ttnn.manage_device(device_id=0) as device: ttnn_full = ttnn.full((1, 50257), fill_value = 1.0, device = device) to_layout = ttnn.to_layout(ttnn_full, layout = ttnn.TILE_LAYOUT)
Expected behavior ttnn.full alone should support this shape (1, 50257) with TILE_LAYOUT since splitting into two ops work.
Please complete the following environment information:
tt-metal: tags/v0.53.0-rc39
With a previous version, v0.53.0-rc35 there is no segfault, but this error:
v0.53.0-rc35
RuntimeError: TT_FATAL @ /tmp/build-via-sdist-x_q5c5zg/metal_libs-0.53.0rc35+grayskull/ttnn/cpp/ttnn/operations/numpy/functions.hpp:66: shape[-1] % tt::constants::TILE_WIDTH == 0 info: TILE layout requires width dimension to be multiple of 32
Might be related to this: #14871
The text was updated successfully, but these errors were encountered:
Setting to p0. We need help to get this resolved asap. We picked up latest metal wheel and ci got broken. Thank you!
Sorry, something went wrong.
ttnn.full uses host operation and required shape is given directly, so padding is not handled.
For TILE layout, HW should be multiples of 32 as mentioned in the doc
The TT_FATAL was removed recently as part of #0: Add support for 0-volume and 1-volume tensors for ttnn::add #14611 hence the segmentation fault instead of runtime error
No branches or pull requests
Describe the bug
Calling
ttnn.full
with this shape(1, 50257)
withTILE_LAYOUT
on device gives a segfault. (This shape is used in GPTNeo.)To Reproduce
However, if I have
ttnn.full
default toROW_MAJOR_LAYOUT
and callttnn.to_layout
toTILE_LAYOUT
after, I do not get any errors.Expected behavior
ttnn.full
alone should support this shape(1, 50257)
withTILE_LAYOUT
since splitting into two ops work.Please complete the following environment information:
tt-metal: tags/v0.53.0-rc39
With a previous version,
v0.53.0-rc35
there is no segfault, but this error:Might be related to this: #14871
The text was updated successfully, but these errors were encountered: