Merge commit 'd40b50b9d5b5b60c56b5e6b3837882442c882074' into develop

This commit is contained in:
assistant-librarian[bot]
2025-10-16 23:11:41 +00:00
parent 8750af5dd9
commit b2c7bef128
77 changed files with 21671 additions and 9858 deletions

View File

@@ -8,12 +8,12 @@ def __version__():
hash = subprocess.check_output("git rev-parse HEAD", shell=True, text=True)[
:hash_width
]
except:
except Exception:
hash = "0" * hash_width
try:
change_count = subprocess.check_output(
f"git rev-list rocm-{rocm_version}..HEAD --count", shell=True, text=True
).strip()
except:
except Exception:
change_count = "0"
return f"{rocm_version}.dev{change_count}+g{hash}"