Skip to content

Commit

Permalink
feat: torch and python versions
Browse files Browse the repository at this point in the history
New torch and python version for int4
  • Loading branch information
StochasticRomanAgeev committed Apr 17, 2023
1 parent 902ce71 commit 43632b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/int4_finetuning/LLaMA_lora_int4.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
},
"outputs": [],
"source": [
"!pip install xturing --upgrade"
"!pip install xturing --upgrade\n",
"!pip install xturing[int4] --upgrade"
]
},
{
Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ classifiers = [

license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.7"
requires-python = ">=3.9"
keywords = [
"nlp",
"llm",
Expand Down Expand Up @@ -64,6 +64,10 @@ dependencies = [
[project.scripts]
xturing = "xturing.cli:xturing"

[project.optional-dependencies]
int4 = [
"torch >= 2.0"
]

[project.urls]
homepage = "https://xturing.stochastic.ai/"
Expand Down

0 comments on commit 43632b8

Please sign in to comment.