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.pow operation fails in cases when both arguments are tensors - input and exponent. It seems to expect either float or int for exponent instead of tensor, but documentation claims tensor exponent support:
Expected behavior
There are three test cases presented in the unit test and they all fail: tests/tt_eager/python_api_testing/non_working_unit_tests/grayskull/test_eltwise_pow.py and they are expected to fail with error
TypeError: pow(): incompatible function arguments. The following argument types are supported:
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 sweep test:
Follow the Getting Started page to setup the repo, environment variables and python-env
Activate source build/python_env/bin/activate
Run sweeps 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_eltwise_pow_test.yaml --input-method cli --cli-input results_pow_broken
After the run is completed all test sweeps results should be available inside specified output directory (in this case ./result-sweeps). There you will find .csv which holds all executed sweeps, among which you can also find the ones that failed and were recreated by the unit test, which you can get by searching unique data_seed field.
The text was updated successfully, but these errors were encountered:
ttnn.pow operation fails in cases when both arguments are tensors - input and exponent. It seems to expect either float or int for exponent instead of tensor, but documentation claims tensor exponent support:
To Reproduce
Steps to reproduce the behavior:
Checkout
main
branch and run unit testtest_eltwise_pow.py
(or others) using this command pattern:Expected behavior
There are three test cases presented in the unit test and they all fail:
tests/tt_eager/python_api_testing/non_working_unit_tests/grayskull/test_eltwise_pow.py
and they are expected to fail with errorGetting 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 sweep test:
To do this you should:
Getting Started
page to setup the repo, environment variables andpython-env
source build/python_env/bin/activate
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_eltwise_pow_test.yaml --input-method cli --cli-input results_pow_broken
.csv
which holds all executed sweeps, among which you can also find the ones that failed and were recreated by the unit test, which you can get by searching uniquedata_seed
field.The text was updated successfully, but these errors were encountered: