From bc47fd6755491314aad2381bc4e73fa939fb34e4 Mon Sep 17 00:00:00 2001 From: Jaret Burkett Date: Sun, 29 Mar 2026 14:04:46 -0600 Subject: [PATCH] Make a requirements base file to make it easier to maintain requirements across platforms. --- dgx_requirements.txt | 42 +----------------------------------------- requirements.txt | 41 +---------------------------------------- requirements_base.txt | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 81 deletions(-) create mode 100644 requirements_base.txt diff --git a/dgx_requirements.txt b/dgx_requirements.txt index a72ee38b..e8e507e6 100644 --- a/dgx_requirements.txt +++ b/dgx_requirements.txt @@ -10,44 +10,4 @@ pywavelets==1.9.0 contourpy==1.3.3 opencv_python_headless==4.11.0.86 -# additional dependencies matching requirements.txt: -torchao==0.10.0 -safetensors -git+https://github.com/huggingface/diffusers@072d15ee4289ffdc3aa9d65f8b94bc9271319d21 -transformers==4.57.3 -lycoris-lora==1.8.3 -flatten_json -pyyaml -oyaml -tensorboard -kornia -invisible-watermark -einops -accelerate -toml -albumentations==1.4.15 -albucore==0.0.16 -pydantic -omegaconf -k-diffusion -open_clip_torch -timm==1.0.22 -prodigyopt -controlnet_aux==0.0.10 -python-dotenv -bitsandbytes -hf_transfer -lpips -pytorch_fid -optimum-quanto==0.2.4 -sentencepiece -huggingface_hub -peft -gradio -python-slugify -opencv-python -pytorch-wavelets==1.3.0 -matplotlib==3.10.1 -setuptools==69.5.1 -av==16.0.1 -torchcodec==0.9.1 \ No newline at end of file +-r requirements_base.txt diff --git a/requirements.txt b/requirements.txt index 82c099fe..54f38562 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,41 +1,2 @@ -torchao==0.10.0 -safetensors -git+https://github.com/huggingface/diffusers@072d15ee4289ffdc3aa9d65f8b94bc9271319d21 -transformers==4.57.3 -lycoris-lora==1.8.3 -flatten_json -pyyaml -oyaml -tensorboard -kornia -invisible-watermark -einops -accelerate -toml -albumentations==1.4.15 -albucore==0.0.16 -pydantic -omegaconf -k-diffusion -open_clip_torch -timm==1.0.22 -prodigyopt -controlnet_aux==0.0.10 -python-dotenv -bitsandbytes -hf_transfer -lpips -pytorch_fid -optimum-quanto==0.2.4 -sentencepiece -huggingface_hub -peft -gradio -python-slugify -opencv-python -pytorch-wavelets==1.3.0 -matplotlib==3.10.1 -setuptools==69.5.1 +-r requirements_base.txt scipy==1.12.0 -av==16.0.1 -torchcodec==0.9.1 diff --git a/requirements_base.txt b/requirements_base.txt new file mode 100644 index 00000000..3d8d11f4 --- /dev/null +++ b/requirements_base.txt @@ -0,0 +1,40 @@ +torchao==0.10.0 +safetensors +git+https://github.com/huggingface/diffusers@072d15ee4289ffdc3aa9d65f8b94bc9271319d21 +transformers==4.57.3 +lycoris-lora==1.8.3 +flatten_json +pyyaml +oyaml +tensorboard +kornia +invisible-watermark +einops +accelerate +toml +albumentations==1.4.15 +albucore==0.0.16 +pydantic +omegaconf +k-diffusion +open_clip_torch +timm==1.0.22 +prodigyopt +controlnet_aux==0.0.10 +python-dotenv +bitsandbytes +hf_transfer +lpips +pytorch_fid +optimum-quanto==0.2.4 +sentencepiece +huggingface_hub +peft +gradio +python-slugify +opencv-python +pytorch-wavelets==1.3.0 +matplotlib==3.10.1 +setuptools==69.5.1 +av==16.0.1 +torchcodec==0.9.1