Skip to content

Commit

Permalink
fix: Only install stanford-stk on linux (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgaddair authored Jan 9, 2024
1 parent 112aeec commit b14207c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion server/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ torch = {version = "2.1.1", optional = true }
peft = {version = "0.4.0", optional = true }
boto3 = "^1.28.34"
urllib3 = "<=1.26.18"
stanford-stk = "^0.0.6"
stanford-stk = { version = "^0.0.6", markers = "sys_platform == 'linux'" }

[tool.poetry.extras]
torch = ["torch"]
Expand Down
4 changes: 2 additions & 2 deletions server/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ safetensors==0.3.1 ; python_version >= "3.9" and python_version < "4.0"
sentencepiece==0.1.99 ; python_version >= "3.9" and python_version < "4.0"
setuptools==69.0.2 ; python_version >= "3.9" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.9" and python_version < "4.0"
stanford-stk==0.0.6 ; python_version >= "3.9" and python_version < "4.0"
stanford-stk==0.0.6 ; python_version >= "3.9" and python_version < "4.0" and sys_platform == "linux"
tiktoken==0.5.2 ; python_version >= "3.9" and python_version < "4.0"
tokenizers==0.15.0 ; python_version >= "3.9" and python_version < "4.0"
tqdm==4.66.1 ; python_version >= "3.9" and python_version < "4.0"
transformers==4.36.0 ; python_version >= "3.9" and python_version < "4.0"
triton==2.1.0 ; python_version >= "3.9" and python_version < "4.0"
triton==2.1.0 ; python_version >= "3.9" and python_version < "4.0" and sys_platform == "linux"
typer==0.6.1 ; python_version >= "3.9" and python_version < "4.0"
typing-extensions==4.9.0 ; python_version >= "3.9" and python_version < "4.0"
urllib3==1.26.18 ; python_version >= "3.9" and python_version < "4.0"
Expand Down

0 comments on commit b14207c

Please sign in to comment.