Cleaning up some training requirements installation steps

This commit is contained in:
Jake Poznanski 2025-08-05 19:42:46 +00:00
parent c9b8088bc6
commit 8b8c6bb837
4 changed files with 3 additions and 12 deletions

View File

@ -1,6 +0,0 @@
torchvision
accelerate
peft
wandb
omegaconf
einops

View File

@ -9,7 +9,7 @@ The first step is to setup your python/conda environment, and set things up the
Then, add in some extra training requirements: Then, add in some extra training requirements:
```bash ```bash
pip install -r gantry-train-requirements.txt pip install .[train]
pip install transformers==4.52.4 pip install transformers==4.52.4
pip install flash-attn==2.8.0.post2 --no-build-isolation pip install flash-attn==2.8.0.post2 --no-build-isolation
``` ```

View File

@ -99,13 +99,10 @@ train = [
"torch", "torch",
"torchvision", "torchvision",
"accelerate", "accelerate",
"datasets",
"peft", "peft",
"wandb", "wandb",
"omegaconf", "omegaconf",
"s3fs", "einops"
"necessary",
"einops",
"augraphy", "augraphy",
] ]

View File

@ -92,7 +92,7 @@ b = Beaker.from_env(default_workspace="ai2/olmocr")
# Build the training command # Build the training command
commands = [ commands = [
"pip install -r gantry-train-requirements.txt", "pip install .[train]",
"pip install transformers==4.52.4", "pip install transformers==4.52.4",
"pip install flash-attn==2.8.0.post2 --no-build-isolation", "pip install flash-attn==2.8.0.post2 --no-build-isolation",
"pip install s5cmd", "pip install s5cmd",