I tried running this today and when I run python gradio_app_sdxl_specific_id_low_vram.py
Ubuntu 22.04.4
64GB RAM
AMD® Radeon rx 6800
Below is the output
Traceback (most recent call last):███████████████████████▎ | 902M/5.14G [00:58<02:41, 26.2MB/s]
File "/home/joe/projects/StoryDiffusion/gradio_app_sdxl_specific_id_low_vram.py", line 579, in <module>█████████████████████████████████████████████████████████████| 5.14G/5.14G [02:29<00:00, 47.7MB/s]
pipe = StableDiffusionXLPipeline.from_pretrained(
File "/home/joe/miniforge3/envs/storydiffusion/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/home/joe/miniforge3/envs/storydiffusion/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 1363, in from_pretrained
model = pipeline_class(**init_kwargs)
File "/home/joe/miniforge3/envs/storydiffusion/lib/python3.10/site-packages/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py", line 236, in __init__
self.register_modules(
File "/home/joe/miniforge3/envs/storydiffusion/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 569, in register_modules
not_compiled_module = _unwrap_model(module)
File "/home/joe/miniforge3/envs/storydiffusion/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 286, in _unwrap_model
from peft import PeftModel
File "/home/joe/miniforge3/envs/storydiffusion/lib/python3.10/site-packages/peft/__init__.py", line 22, in <module>
from .auto import (
File "/home/joe/miniforge3/envs/storydiffusion/lib/python3.10/site-packages/peft/auto.py", line 32, in <module>
from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING
File "/home/joe/miniforge3/envs/storydiffusion/lib/python3.10/site-packages/peft/mapping.py", line 22, in <module>
from .mixed_model import PeftMixedModel
File "/home/joe/miniforge3/envs/storydiffusion/lib/python3.10/site-packages/peft/mixed_model.py", line 26, in <module>
from peft.tuners.mixed import COMPATIBLE_TUNER_TYPES
File "/home/joe/miniforge3/envs/storydiffusion/lib/python3.10/site-packages/peft/tuners/__init__.py", line 26, in <module>
from .boft import BOFTConfig, BOFTModel
File "/home/joe/miniforge3/envs/storydiffusion/lib/python3.10/site-packages/peft/tuners/boft/__init__.py", line 16, in <module>
from .layer import BOFTLayer
File "/home/joe/miniforge3/envs/storydiffusion/lib/python3.10/site-packages/peft/tuners/boft/layer.py", line 30, in <module>
from torch.utils.cpp_extension import load
File "/home/joe/miniforge3/envs/storydiffusion/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 25, in <module>
from pkg_resources import packaging # type: ignore[attr-defined]
ImportError: cannot import name 'packaging' from 'pkg_resources' (/home/joe/miniforge3/envs/storydiffusion/lib/python3.10/site-packages/pkg_resources/__init__.py)```
I tried running this today and when I run
python gradio_app_sdxl_specific_id_low_vram.py
Ubuntu 22.04.4 64GB RAM AMD® Radeon rx 6800
Below is the output