Canonical way to call complex pip
commands.
#1474
Unanswered
DamianB-BitFlipper
asked this question in
Q&A
Replies: 1 comment
-
Sorry for missing this discussion. This worked for me: [project]
channels = ["https://fast.prefix.dev/conda-forge"]
name = "unsloth"
platforms = ["linux-64"]
[dependencies]
python = ">=3.12.5,<4"
trl = "*"
peft = "*"
accelerate = "*"
bitsandbytes = "*"
datasets = ">=2.16.4"
[pypi-dependencies]
unsloth = { git = "https://github.com/unslothai/unsloth.git", extras = ["colab-new"] } |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am installing unsloth in a pixi environment. The installation instructions involve two more complicated calls to
pip
. What I am currently doing ispixi add pip
and then calling thesepip
commands as written. I'd like them to be a part of thepixi.toml
to make a self-contained environment file.Here are the
pip
commands:pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"
pip install --no-deps trl peft accelerate bitsandbytes
Beta Was this translation helpful? Give feedback.
All reactions