forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9668f2
commit 794c15d
Showing
2 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
diff -ru jax-jax-v0.4.35/jax/version.py jax-jax-v0.4.35_version/jax/version.py | ||
--- jax-jax-v0.4.35/jax/version.py 2024-10-22 21:00:23.000000000 +0200 | ||
+++ jax-jax-v0.4.35_version/jax/version.py 2024-11-28 13:10:52.508536023 +0100 | ||
@@ -33,6 +33,7 @@ | ||
def _get_version_string() -> str: | ||
# The build/source distribution for jax & jaxlib overwrites _release_version. | ||
# In this case we return it directly. | ||
+ return _version | ||
if _release_version is not None: | ||
return _release_version | ||
return _version_from_git_tree(_version) or _version_from_todays_date(_version) | ||
@@ -71,6 +72,7 @@ | ||
- if JAX_NIGHTLY or JAXLIB_NIGHTLY are set: version looks like "0.4.16.dev20230906" | ||
- if none are set: version looks like "0.4.16.dev20230906+ge58560fdc | ||
""" | ||
+ return _version | ||
if _release_version is not None: | ||
return _release_version | ||
if os.environ.get('JAX_NIGHTLY') or os.environ.get('JAXLIB_NIGHTLY'): |