Skip to content

Commit

Permalink
[CI] Fix setup.py (flashinfer-ai#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
yzh119 authored Jan 31, 2024
1 parent 0e5482f commit 00aa360
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,10 @@ def get_instantiation_cu() -> list[str]:


def get_version():
with open(root / "version.txt") as f:
version = f.read().strip()
version = os.getenv("FLASHINFER_BUILD_VERSION")
if version is None:
with open(root / "version.txt") as f:
version = f.read().strip()
return version


Expand Down

0 comments on commit 00aa360

Please sign in to comment.