From 9d6b60d9e72025564f47cc22e34ef9d0784a8e68 Mon Sep 17 00:00:00 2001 From: Sertac Ozercan Date: Sat, 25 May 2024 22:56:17 +0000 Subject: [PATCH] justpythonthings Signed-off-by: Sertac Ozercan --- pkg/aikit2llb/finetune/convert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/aikit2llb/finetune/convert.go b/pkg/aikit2llb/finetune/convert.go index 3ec55eaa..41e4f35b 100644 --- a/pkg/aikit2llb/finetune/convert.go +++ b/pkg/aikit2llb/finetune/convert.go @@ -48,7 +48,7 @@ func Aikit2LLB(c *config.FineTuneConfig) llb.State { if c.Target == utils.TargetUnsloth { // installing unsloth and its dependencies // uv does not support installing xformers via unsloth pyproject - state = state.Run(utils.Shf("pip install --upgrade pip uv && uv venv --system-site-packages && %[1]s && uv pip install packaging torch==2.1.0 ipython ninja packaging bitsandbytes setuptools wheel psutil && uv pip install flash-attn --no-build-isolation && python -m pip install 'unsloth[cu121_ampere] @ git+https://github.com/unslothai/unsloth.git@%[2]s'", sourceVenv, unslothCommitSHA)).Root() + state = state.Run(utils.Shf("pip install --upgrade pip uv && uv venv --system-site-packages && %[1]s && uv pip install packaging torch==2.1.0 ipython ninja packaging bitsandbytes setuptools==69.5.1 wheel psutil && uv pip install flash-attn --no-build-isolation && python -m pip install 'unsloth[cu121_ampere] @ git+https://github.com/unslothai/unsloth.git@%[2]s'", sourceVenv, unslothCommitSHA)).Root() version := version.Version if version == "" {