Skip to content

Make checking for hip flags quiet #4162

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

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Make checking for hip flags quiet #4162

wants to merge 4 commits into from

Conversation

pfultz2
Copy link
Collaborator

@pfultz2 pfultz2 commented Jul 23, 2025

No description provided.

@pfultz2 pfultz2 requested a review from causten as a code owner July 23, 2025 19:01
@pfultz2 pfultz2 self-assigned this Jul 23, 2025
@migraphx-bot
Copy link
Collaborator

Test Batch Rate new
490d15
Rate old
408b98
Diff Compare
torchvision-resnet50 64 3,139.93 3,250.02 -3.39% 🔴
torchvision-resnet50_fp16 64 6,840.71 6,932.46 -1.32%
torchvision-densenet121 32 2,439.28 2,451.56 -0.50%
torchvision-densenet121_fp16 32 4,174.43 4,194.30 -0.47%
torchvision-inceptionv3 32 1,636.67 1,637.52 -0.05%
torchvision-inceptionv3_fp16 32 2,743.79 2,755.56 -0.43%
cadene-inceptionv4 16 771.66 771.29 0.05%
cadene-resnext64x4 16 814.27 814.51 -0.03%
slim-mobilenet 64 7,464.33 7,468.33 -0.05%
slim-nasnetalarge 64 210.37 211.12 -0.36%
slim-resnet50v2 64 3,343.05 3,338.43 0.14%
bert-mrpc-onnx 8 1,149.78 1,148.45 0.12%
bert-mrpc-tf 1 465.49 457.12 1.83%
pytorch-examples-wlang-gru 1 359.55 375.73 -4.31% 🔴
pytorch-examples-wlang-lstm 1 478.50 471.27 1.53%
torchvision-resnet50_1 1 794.26 792.04 0.28%
cadene-dpn92_1 1 412.71 412.62 0.02%
cadene-resnext101_1 1 387.86 393.63 -1.47%
onnx-taau-downsample 1 372.84 397.53 -6.21% 🔴
dlrm-criteoterabyte 1 33.77 33.77 0.00%
dlrm-criteoterabyte_fp16 1 51.19 51.18 0.01%
agentmodel 1 9,755.24 10,027.59 -2.72%
unet_fp16 2 60.73 60.74 -0.01%
resnet50v1_fp16 1 1,035.49 1,026.72 0.85%
resnet50v1_int8 1 1,044.31 1,055.91 -1.10%
bert_base_cased_fp16 64 1,156.25 1,170.12 -1.19%
bert_large_uncased_fp16 32 361.35 361.35 -0.00%
bert_large_fp16 1 204.67 203.52 0.56%
distilgpt2_fp16 16 2,240.46 2,239.92 0.02%
yolov5s 1 534.58 532.24 0.44%
tinyllama 1 44.01 44.02 -0.04%
vicuna-fastchat 1 45.34 45.26 0.17%
whisper-tiny-encoder 1 419.27 418.72 0.13%
whisper-tiny-decoder 1 403.17 403.41 -0.06%
llama2_7b 1 19.18 19.18 0.04%
qwen1.5-7b 1 23.68 23.67 0.05%
phi3-3.8b 1 26.88 26.86 0.09%
mask-rcnn 1 12.60 12.78 -1.39%
llama3-8b 1 21.84 21.84 -0.02%
whisper-large-encoder 1 10.22 10.22 0.00%
whisper-large-decoder 1 103.45 104.19 -0.71%
mistral-7b 1 23.86 23.85 0.07%
FLUX.1-schnell 1 769.99 767.54 0.32%
nan nan nan nan nan%

This build is not recommended to merge 🔴

@migraphx-bot
Copy link
Collaborator


     ✅ bert-mrpc-onnx: PASSED: MIGraphX meets tolerance

❌bert-mrpc-tf: ERROR - check error output2025-07-23 21:03:43.170744: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1753322628.441114 181714 gpu_device.cc:2022] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 62973 MB memory: -> device: 0, name: AMD Instinct MI250X/MI250, pci bus id: 0000:b3:00.0
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1753322629.300624 181714 mlir_graph_optimization_pass.cc:401] MLIR V1 optimization pass is not enabled
2025-07-23 21:03:59.037432: E external/local_xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc:250] bitcode module is required by this HLO module but was not found at ./opencl.bc
2025-07-23 21:03:59.037481: E external/local_xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc:250] bitcode module is required by this HLO module but was not found at ./opencl.bc
2025-07-23 21:03:59.037509: E external/local_xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc:250] bitcode module is required by this HLO module but was not found at ./opencl.bc
2025-07-23 21:03:59.037559: E external/local_xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc:250] bitcode module is required by this HLO module but was not found at ./opencl.bc
2025-07-23 21:03:59.037609: E external/local_xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc:250] bitcode module is required by this HLO module but was not found at ./opencl.bc
2025-07-23 21:03:59.037659: E external/local_xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc:250] bitcode module is required by this HLO module but was not found at ./opencl.bc
2025-07-23 21:03:59.037710: E external/local_xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc:250] bitcode module is required by this HLO module but was not found at ./opencl.bc
2025-07-23 21:03:59.037900: E external/local_xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc:250] bitcode module is required by this HLO module but was not found at ./opencl.bc
error: Failure when generating HSACO
error: Failure when generating HSACO
error: Failure when generating HSACO
error: Failure when generating HSACO
error: Failure when generating HSACO
error: Failure when generating HSACO
error: Failure when generating HSACO
error: Failure when generating HSACO
2025-07-23 21:03:59.038852: E tensorflow/compiler/mlir/tools/kernel_gen/tf_framework_c_interface.cc:228] INTERNAL: Generating device code failed.
2025-07-23 21:03:59.039966: W tensorflow/core/framework/op_kernel.cc:1829] UNKNOWN: JIT compilation failed.
2025-07-23 21:03:59.039985: I tensorflow/core/framework/local_rendezvous.cc:405] Local rendezvous is aborting with status: UNKNOWN: JIT compilation failed.
[[{{node import/bert/embeddings/LayerNorm/moments/SquaredDifference}}]]
2025-07-23 21:03:59.039996: I tensorflow/core/framework/local_rendezvous.cc:405] Local rendezvous is aborting with status: UNKNOWN: JIT compilation failed.
[[{{node import/bert/embeddings/LayerNorm/moments/SquaredDifference}}]]
[[import/loss/output/_21]]
2025-07-23 21:03:59.040011: I tensorflow/core/framework/local_rendezvous.cc:424] Local rendezvous recv item cancelled. Key hash: 11217777527359497193
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/client/session.py", line 1407, in _do_call
return fn(*args)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/client/session.py", line 1390, in _run_fn
return self._call_tf_sessionrun(options, feed_dict, fetch_list,
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/client/session.py", line 1483, in _call_tf_sessionrun
return tf_session.TF_SessionRun_wrapper(self._session, options, feed_dict,
tensorflow.python.framework.errors_impl.UnknownError: 2 root error(s) found.
(0) UNKNOWN: JIT compilation failed.
[[{{node import/bert/embeddings/LayerNorm/moments/SquaredDifference}}]]
[[import/loss/output/_21]]
(1) UNKNOWN: JIT compilation failed.
[[{{node import/bert/embeddings/LayerNorm/moments/SquaredDifference}}]]
0 successful operations.
0 derived errors ignored.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/src/AMDMIGraphX/tools/accuracy/accuracy_checker.py", line 359, in
main()
File "/src/AMDMIGraphX/tools/accuracy/accuracy_checker.py", line 335, in main
y_out = sess.run(y, feed_dict=tf_dict)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/client/session.py", line 977, in run
result = self._run(None, fetches, feed_dict, options_ptr,
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/client/session.py", line 1220, in _run
results = self._do_run(handle, final_targets, final_fetches,
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/client/session.py", line 1400, in _do_run
return self._do_call(_run_fn, feeds, fetches, targets, options,
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/client/session.py", line 1426, in _do_call
raise type(e)(node_def, op, message) # pylint: disable=no-value-for-parameter
tensorflow.python.framework.errors_impl.UnknownError: Graph execution error:

Detected at node 'import/bert/embeddings/LayerNorm/moments/SquaredDifference' defined at (most recent call last):
Node: 'import/bert/embeddings/LayerNorm/moments/SquaredDifference'
Detected at node 'import/bert/embeddings/LayerNorm/moments/SquaredDifference' defined at (most recent call last):
Node: 'import/bert/embeddings/LayerNorm/moments/SquaredDifference'
2 root error(s) found.
(0) UNKNOWN: JIT compilation failed.
[[{{node import/bert/embeddings/LayerNorm/moments/SquaredDifference}}]]
[[import/loss/output/_21]]
(1) UNKNOWN: JIT compilation failed.
[[{{node import/bert/embeddings/LayerNorm/moments/SquaredDifference}}]]
0 successful operations.
0 derived errors ignored.

Original stack trace for 'import/bert/embeddings/LayerNorm/moments/SquaredDifference':


     ✅ pytorch-examples-wlang-gru: PASSED: MIGraphX meets tolerance

     ✅ pytorch-examples-wlang-lstm: PASSED: MIGraphX meets tolerance

     ✅ dlrm-criteoterabyte: PASSED: MIGraphX meets tolerance

     ✅ agentmodel: PASSED: MIGraphX meets tolerance

🔴unet: FAILED: MIGraphX is not within tolerance - check verbose output


     ✅ resnet50v1: PASSED: MIGraphX meets tolerance

     ✅ bert_base_cased_fp16: PASSED: MIGraphX meets tolerance

🔴bert_large_uncased_fp16: FAILED: MIGraphX is not within tolerance - check verbose output


     ✅ bert_large: PASSED: MIGraphX meets tolerance

     ✅ yolov5s: PASSED: MIGraphX meets tolerance

     ✅ tinyllama: PASSED: MIGraphX meets tolerance

     ✅ vicuna-fastchat: PASSED: MIGraphX meets tolerance

     ✅ whisper-tiny-encoder: PASSED: MIGraphX meets tolerance

     ✅ whisper-tiny-decoder: PASSED: MIGraphX meets tolerance

     ✅ distilgpt2_fp16: PASSED: MIGraphX meets tolerance

     ✅ llama2_7b: PASSED: MIGraphX meets tolerance

     ✅ qwen1.5-7b: PASSED: MIGraphX meets tolerance

     ✅ phi3-3.8b: PASSED: MIGraphX meets tolerance

🔴mask-rcnn: FAILED: MIGraphX is not within tolerance - check verbose output


     ✅ llama3-8b: PASSED: MIGraphX meets tolerance

     ✅ whisper-large-decoder: PASSED: MIGraphX meets tolerance

     ✅ mistral-7b: PASSED: MIGraphX meets tolerance

     ✅ FLUX.1-schnell: PASSED: MIGraphX meets tolerance

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

Successfully merging this pull request may close these issues.

2 participants