Skip to content

Commit

Permalink
Add pytorch binary build support for l4t35.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lida2003 committed Jan 6, 2025
1 parent a8d6afb commit 291abfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/generate_torch_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def get_torch_version(sha: str | None = None) -> str:
assert os.getenv("PYTORCH_BUILD_NUMBER") is not None
build_number = int(os.getenv("PYTORCH_BUILD_NUMBER", ""))
version = os.getenv("PYTORCH_BUILD_VERSION", "")
l4t_ver = os.getenv("L4T_BUILD_VERSION", "")
version += "+l4t" + l4t_ver
if build_number > 1:
version += ".post" + str(build_number)
elif sha != UNKNOWN:
Expand Down

0 comments on commit 291abfe

Please sign in to comment.