jbilcke-hf HF Staff commited on
Commit
0cbf47d
·
1 Parent(s): 871b95b

attempting a fix

Browse files
degraded_finetrainers_requirements.txt CHANGED
@@ -1,8 +1,15 @@
1
  accelerate
 
 
 
 
2
  bitsandbytes
3
  datasets>=3.3.2
4
  diffusers>=0.32.1
5
- transformers>=4.45.2
 
 
 
6
  huggingface_hub
7
  hf_transfer>=0.1.8
8
  peft>=0.13.0
@@ -11,7 +18,7 @@ wandb
11
  pandas
12
  torch==2.6.0
13
  torchvision==0.21.0
14
- torchdata==0.1.0
15
  torchao==0.9.0
16
  sentencepiece>=0.2.0
17
  imageio-ffmpeg>=0.5.1
 
1
  accelerate
2
+
3
+ # cannot be installed on mac
4
+ # triton
5
+
6
  bitsandbytes
7
  datasets>=3.3.2
8
  diffusers>=0.32.1
9
+
10
+ # something broke in transformers > 4.55.4
11
+ transformers==4.55.4
12
+
13
  huggingface_hub
14
  hf_transfer>=0.1.8
15
  peft>=0.13.0
 
18
  pandas
19
  torch==2.6.0
20
  torchvision==0.21.0
21
+ torchdata==0.10.1
22
  torchao==0.9.0
23
  sentencepiece>=0.2.0
24
  imageio-ffmpeg>=0.5.1
degraded_requirements.txt CHANGED
@@ -33,7 +33,10 @@ polars
33
  einops
34
  open_clip_torch
35
  av==14.1.0
36
- git+https://github.com/LLaVA-VL/LLaVA-NeXT.git
 
 
 
37
 
38
  # for our frontend
39
  gradio==5.33.1
 
33
  einops
34
  open_clip_torch
35
  av==14.1.0
36
+
37
+ # for some reason LLaVA-NeXT has ceased to work,
38
+ # but I think it it due to a breaking change in Transformers
39
+ git+https://github.com/LLaVA-VL/LLaVA-NeXT.git#45f2d920a6c678777da1d5141a82135f43825ae1
40
 
41
  # for our frontend
42
  gradio==5.33.1
degraded_setup.sh CHANGED
@@ -16,7 +16,7 @@ source .venv/bin/activate
16
  python3.10 -m pip install -r degraded_requirements.txt
17
 
18
  # :((
19
- finetrainers @ git+https://github.com/a-r-r-o-w/finetrainers.git@main --no-deps
20
 
21
  # :(((
22
  python3.10 -m pip install -r degraded_finetrainers_requirements.txt
 
16
  python3.10 -m pip install -r degraded_requirements.txt
17
 
18
  # :((
19
+ #python3.10 -m pip install finetrainers @ git+https://github.com/a-r-r-o-w/finetrainers.git@main --no-deps
20
 
21
  # :(((
22
  python3.10 -m pip install -r degraded_finetrainers_requirements.txt
requirements.txt CHANGED
@@ -5,12 +5,15 @@ torchvision==0.21.0
5
  torchdata==0.10.1
6
  torchao==0.9.0
7
 
 
 
 
8
  # For GPU monitoring of NVIDIA chipsets
9
  pynvml
10
 
11
  # we are waiting for the next PyPI release
12
  #finetrainers==0.1.0
13
- finetrainers @ git+https://github.com/a-r-r-o-w/finetrainers.git@main
14
  # temporary fix for pip install bug:
15
  #finetrainers @ git+https://github.com/jbilcke-hf/finetrainers-patches.git@fix_missing_sft_trainer_files
16
 
@@ -38,8 +41,8 @@ open_clip_torch
38
  av==14.1.0
39
 
40
  # for some reason LLaVA-NeXT has ceased to work,
41
- # let's try to use an older version by using a git commit hash
42
- git+https://github.com/LLaVA-VL/LLaVA-NeXT.git#45f2d920a6c678777da1d5141a82135f43825ae1
43
 
44
  # for our frontend
45
  gradio==5.33.1
 
5
  torchdata==0.10.1
6
  torchao==0.9.0
7
 
8
+ # something broke in Transformers > 4.55.4
9
+ transformers==4.55.4
10
+
11
  # For GPU monitoring of NVIDIA chipsets
12
  pynvml
13
 
14
  # we are waiting for the next PyPI release
15
  #finetrainers==0.1.0
16
+ finetrainers @ git+https://github.com/huggingface/finetrainers.git@main
17
  # temporary fix for pip install bug:
18
  #finetrainers @ git+https://github.com/jbilcke-hf/finetrainers-patches.git@fix_missing_sft_trainer_files
19
 
 
41
  av==14.1.0
42
 
43
  # for some reason LLaVA-NeXT has ceased to work,
44
+ # but I think it it due to a breaking change in Transformers
45
+ git+https://github.com/LLaVA-VL/LLaVA-NeXT.git
46
 
47
  # for our frontend
48
  gradio==5.33.1