Skip to content

test: display CPU info on failed accuracy test#625

Draft
tybulewicz wants to merge 5 commits into
masterfrom
ttybulew/show_cpu_info
Draft

test: display CPU info on failed accuracy test#625
tybulewicz wants to merge 5 commits into
masterfrom
ttybulew/show_cpu_info

Conversation

@tybulewicz

@tybulewicz tybulewicz commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

An attempt to catch accuracy errors in the wild with display od details of offending platform.
Please do not merge!

@github-actions github-actions Bot added the tests Related to tests label Jul 6, 2026
Comment thread model_api/tests/functional/test_inference.py Fixed
Comment thread model_api/tests/functional/test_inference.py Fixed
@github-actions github-actions Bot added the build Related to build scripts label Jul 6, 2026
@tybulewicz tybulewicz force-pushed the ttybulew/show_cpu_info branch from 5a94a45 to fd10431 Compare July 6, 2026 12:08
return platform.processor()
if platform.system() == "Linux":
command = "cat /proc/cpuinfo"
return subprocess.check_output(command, shell=True).decode().strip() # noqa: S602
import json
import operator
import platform
import subprocess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Related to build scripts tests Related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants