You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ttnn.rms_norm operation fails with larger tensors (and tensors with larger ranks) as inputs. ttnn.rms_norm works for small and simple tensors as inputs such as [224, 256], [1, 256], but fails when more complicated tensors are provided such as [8, 224, 160], [8, 224, 160] with error:
Getting Additional info for the operation under test and its behavior
To get additional information and results for different combinations of input shapes, types, layouts and memory configs for which this operation was tested you can also run locally sweeps and check the results. To do this you should:
Run non working sweep by using pytest tests/ttnn/python_api_testing/sweep_tests/run_sweep_test.py --input-path tests/ttnn/python_api_testing/sweep_tests/test_configs/ci_sweep_tests_broken/grayskull/ttnn_rmsnorm_test.yaml --input-method cli --cli-input results_ttnn_rmsnorm_broken
After the run is completed all test sweeps results should be available inside specified output directory (in this case ./results_ttnn_rmsnorm_broken).
The text was updated successfully, but these errors were encountered:
ttnn.rms_norm operation fails with larger tensors (and tensors with larger ranks) as inputs. ttnn.rms_norm works for small and simple tensors as inputs such as [224, 256], [1, 256], but fails when more complicated tensors are provided such as [8, 224, 160], [8, 224, 160] with error:
Pytorch implementation works with such inputs. Also documentation at https://tenstorrent.github.io/tt-metal/latest/ttnn/ttnn/ttnn/rms_norm.html does not mention such limitations and allows ranks of tensors up to 4.
Problem is observed on both GS and WH cards.
To Reproduce
Steps to reproduce the behavior:
ngrujic/op_bug_unit_tests
(soon to be merged intomain
).test_rmsnorm.py
using this command:pytest tests/ttnn/python_api_testing/non_working_unit_tests/grayskull/test_rmsnorm.py
Expected behavior
There are multiple test cases presented in the unit test, which are failing with error:
Getting Additional info for the operation under test and its behavior
To get additional information and results for different combinations of input shapes, types, layouts and memory configs for which this operation was tested you can also run locally sweeps and check the results. To do this you should:
pytest tests/ttnn/python_api_testing/sweep_tests/run_sweep_test.py --input-path tests/ttnn/python_api_testing/sweep_tests/test_configs/ci_sweep_tests_broken/grayskull/ttnn_rmsnorm_test.yaml --input-method cli --cli-input results_ttnn_rmsnorm_broken
The text was updated successfully, but these errors were encountered: