We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dda7e8c commit 7e9ba03Copy full SHA for 7e9ba03
external-builds/pytorch/run_pytorch_tests.py
@@ -292,7 +292,7 @@ def force_exit_with_code(retcode):
292
retcode_file = Path("run_pytorch_tests_exit_code.txt")
293
print(f"Writing retcode {retcode} to '{retcode_file}'")
294
with open(retcode_file, "w") as f:
295
- f.write(str(retcode))
+ f.write(str(int(retcode)))
296
297
print("Forcefully terminating to avoid https://github.com/ROCm/TheRock/issues/999")
298
0 commit comments