Ricardouchub commited on
Commit
bbf44a5
·
verified ·
1 Parent(s): dd25841

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -0
README.md CHANGED
@@ -106,6 +106,31 @@ image.save("sample.png")
106
  - Keep **negative prompts** to avoid logos/text/NSFW.
107
  - Use seeds for reproducibility; `steps=18–28`, `guidance=5.5–7.5`, `size=768–1024`.
108
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
 
110
  ---
111
 
 
106
  - Keep **negative prompts** to avoid logos/text/NSFW.
107
  - Use seeds for reproducibility; `steps=18–28`, `guidance=5.5–7.5`, `size=768–1024`.
108
 
109
+ ---
110
+
111
+ ## Environment & Compatibility
112
+
113
+ To ensure full compatibility when loading this model (fused SDXL with LoRA merged), use the following library versions:
114
+
115
+ | Library | Recommended Version | Notes |
116
+ |----------|--------------------|-------|
117
+ | **Python** | 3.10 – 3.12 | Tested on Colab (Python 3.12) |
118
+ | **PyTorch** | 2.6.0 + CUDA 12.4 | Any CUDA ≥ 12 works |
119
+ | **diffusers** | **0.35.1** | Core inference & model loading |
120
+ | **transformers** | **4.45.2** | Required for SDXL CLIPTextEncoder compatibility |
121
+ | **accelerate** | **1.10.1** | Device and fp16 inference management |
122
+ | **huggingface_hub** | **0.23.5** | Compatible with diffusers 0.35.x |
123
+ | **safetensors** | ≥ 0.4.5 | For secure model weights loading |
124
+
125
+ **Install in Colab or local environment:**
126
+
127
+ ```bash
128
+ pip install "diffusers==0.35.1" "transformers==4.45.2" "accelerate==1.10.1" "huggingface_hub==0.23.5" safetensors
129
+ ```
130
+
131
+ > **Important:**
132
+ > Using newer versions (e.g., `transformers ≥ 4.56`) may break compatibility due to API changes in `CLIPTextModel` (`offload_state_dict` argument).
133
+ > Always match the versions above for smooth loading.
134
 
135
  ---
136