Skip to content

Commit ddc0461

Browse files
build: remove pin on gguf dependency
This allows it to pull in sentencepiece on its own. In 0.10.0, it didn't have this package listed as a dependency, but in recent releases it does. So we are able to remove sentencepiece as an explicit dep.
1 parent 0f09091 commit ddc0461

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,16 @@ dependencies = [
3737
"bitsandbytes; sys_platform!='darwin'",
3838
"compel==2.0.2",
3939
"diffusers[torch]",
40-
"gguf==0.10.0",
40+
"gguf",
4141
"invisible-watermark==0.2.0", # needed to install SDXL base and refiner using their repo_ids
4242
"mediapipe==0.10.14", # needed for "mediapipeface" controlnet model
4343
"numpy<2.0.0",
4444
"onnx==1.16.1",
4545
"onnxruntime==1.19.2",
4646
"opencv-python==4.9.0.80",
4747
"safetensors",
48-
# sentencepiece is required to load T5TokenizerFast (used by FLUX).
49-
"sentencepiece==0.2.0",
5048
"spandrel==0.3.4",
51-
"torch~=2.6.0", # torch and related dependencies are loosely pinned, will respect requirement of `diffusers[torch]`
49+
"torch~=2.6.0", # torch and related dependencies are loosely pinned, will respect requirement of `diffusers[torch]`
5250
"torchsde",
5351
"torchvision",
5452
"transformers",

0 commit comments

Comments
 (0)