Skip to content
New issue

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

test_arbitrary_op_chain golden pcc fix #1228

Open
tapspatel opened this issue Nov 11, 2024 · 0 comments
Open

test_arbitrary_op_chain golden pcc fix #1228

tapspatel opened this issue Nov 11, 2024 · 0 comments

Comments

@tapspatel
Copy link
Contributor

test_arbitrary_op_chain
-----------executing golden comparision-----------
found location=0
PCC=0.5095396197537192
Max ATOL Delta: 5.050614356994629, Max RTOL Delta: 392.5677795410156, PCC: 0.5095396197537192
-----------finished executing golden comparision-----------
-----------executing golden comparision-----------
found location=1
PCC=-0.008599153885408902
Max ATOL Delta: 56.917110443115234, Max RTOL Delta: 152.4821014404297, PCC: -0.008599153885408902
-----------finished executing golden comparision-----------
-----------executing golden comparision-----------
found location=2
PCC=0.31009732438108456
Max ATOL Delta: 81.55471801757812, Max RTOL Delta: 1216.42578125, PCC: 0.31009732438108456
-----------finished executing golden comparision-----------

repro

# mlir
source env/activate
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DTTMLIR_ENABLE_RUNTIME=ON -DTT_RUNTIME_ENABLE_PERF_TRACE=ON -DTTMLIR_ENABLE_RUNTIME_TESTS=ON -DTTMLIR_ENABLE_STABLEHLO=ON -DTT_RUNTIME_DEBUG=ON
cmake --build build

# ttrt
source env/activate
cmake --build build -- ttrt

ttrt query --save-artifacts
export SYSTEM_DESC_PATH=/path/to/system/file/from/previous/command

python python/test_infra/test_ttir_ops_ttnn.py
ttrt run test_eq.ttnn --golden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant