xueyao commited on
Commit
c751b2d
·
1 Parent(s): b71eda0
README.md CHANGED
@@ -3,3 +3,133 @@ license: other
3
  license_name: stabilityai-ai-community
4
  license_link: LICENSE
5
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  license_name: stabilityai-ai-community
4
  license_link: LICENSE
5
  ---
6
+
7
+ # TensorArt-TurboX-SD3.5Large
8
+ <div align="center">
9
+ <img src="ckpt_ad.webp" alt="ComfyUI_temp_psqad_00205_" width="400"/>
10
+ </div>
11
+
12
+ ## Model Description
13
+
14
+ **TensorArt-TurboX-SD3.5Large** is a highly optimized variant of **Stable Diffusion 3.5 Large**, achieving **6x faster generation speed** with minimal quality loss. It surpasses the official **Stable Diffusion 3.5 Large Turbo** in **image detail, diversity, richness, and realism**.
15
+
16
+ The model is available in both **LoRA** and **checkpoint (ckpt)** formats, ensuring **compatibility with most community models**. This allows seamless integration into various workflows, accelerating **open-source AI development**.
17
+
18
+ ## Key Features
19
+
20
+ - 🚀 **6x Speed Boost**: Generates images significantly **faster** than the original SD3.5 Large.
21
+ - 🎨 **Superior Quality**: Outperforms **stabilityai/stable-diffusion-3.5-large-turbo** in **detail, diversity, and realism**.
22
+ - 🔄 **Versatile Compatibility**: Works with both **realistic** and **anime-style** models.
23
+ - ⚡ **Optimized for Efficiency**: Suitable for both **high-end and mid-range GPUs**.
24
+
25
+ ## Recommended Settings
26
+
27
+ For optimal results, we recommend using:
28
+
29
+ - **Sampler**: `Euler`
30
+ - **Scheduler**: `Simple`
31
+ - **Sampling Steps**: `8`
32
+ - **CFG Scale**: `1.0 - 1.5` _(Note: CFG ≠ 1 will double generation time)_
33
+ - **Shift**: `5` _(Improves hand detail)_
34
+ - **LoRA Strength**: `1.0` _(if using LoRA version)_
35
+
36
+ ## Example Output
37
+ Using ckpt:
38
+
39
+ ```python
40
+ import torch
41
+ from diffusers import StableDiffusion3Pipeline
42
+
43
+ repo = "tensorart/stable-diffusion-3.5-large-TurboX"
44
+
45
+
46
+ pipe = StableDiffusion3Pipeline.from_pretrained(repo, torch_dtype=torch.float16)
47
+
48
+ pipe = pipe.to("cuda")
49
+
50
+
51
+ generator = torch.Generator(device="cuda").manual_seed(1)
52
+
53
+ image = pipe(
54
+ "A beautiful bald girl with silver and white futuristic metal face jewelry, her full body made of intricately carved liquid glass in the style of Tadashi, the complexity master of cyberpunk, in the style of James Jean and Peter Mohrbacher. This concept design is trending on Artstation, with sharp focus, studio-quality photography, and highly detailed, intricate details.",
55
+ num_inference_steps=8,
56
+ guidance_scale=1.5,
57
+ height=1024,
58
+ width=768,
59
+ generator=generator
60
+ ).images[0]
61
+
62
+ image.save("./test2-3.webp")
63
+
64
+ ```
65
+
66
+ Using lora:
67
+
68
+ ```python
69
+ import torch
70
+ from diffusers import StableDiffusion3Pipeline, FlowMatchEulerDiscreteScheduler
71
+ import numpy as np
72
+ from safetensors.torch import load_file
73
+ from huggingface_hub import hf_hub_download
74
+
75
+ repo = "tensorart/stable-diffusion-3.5-large-TurboX"
76
+ ckpt = "Tensorart_TurboX_sd3.5L_8steps.safetensors"
77
+
78
+ pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3.5-large", torch_dtype=torch.float16,)
79
+
80
+ pipe = pipe.to("cuda")
81
+ pipe.load_lora_weights(hf_hub_download(repo, ckpt))
82
+ pipe.fuse_lora()
83
+
84
+ pipe.scheduler = FlowMatchEulerDiscreteScheduler.from_pretrained(repo, subfolder="scheduler", shift=5)
85
+
86
+ generator = torch.Generator(device="cuda").manual_seed(1)
87
+ image = pipe(
88
+ "A beautiful bald girl with silver and white futuristic metal face jewelry, her full body made of intricately carved liquid glass in the style of Tadashi, the complexity master of cyberpunk, in the style of James Jean and Peter Mohrbacher. This concept design is trending on Artstation, with sharp focus, studio-quality photography, and highly detailed, intricate details.",
89
+ num_inference_steps=8,
90
+ guidance_scale=1.5,
91
+ height=1024,
92
+ width=768,
93
+ generator=generator
94
+ ).images[0]
95
+ image.save("./test1.webp")
96
+ ```
97
+
98
+
99
+ ## Example Comparisons
100
+
101
+ ### TensorArt-TurboX-SD3.5Large vs. Official Models
102
+
103
+ Here are some sample outputs comparing **TensorArt-TurboX-SD3.5Large** (8 steps, CFG=1, Simple scheduler) with **official models**:
104
+
105
+ | 描述 | Tensorart turboX cfg=1 8steps | Official turbo cfg=1.5 4steps |
106
+ | --- | --- | --- |
107
+ | | **scheduler=simple** | **scheduler=normal** |
108
+ | a high school girl is standing in the ground,full body, wearing a sport clothes, holding a tennis | ![网球运动员图片1](./contrast_imgs/1-1.jpg) | ![网球运动员图片2](./contrast_imgs/1-2.jpg) |
109
+ | Cinematic close-up on Fan Bingbing's regal features as she embodies ancient Egyptian queen Cleopatra. Golden light bathes her porcelain skin, highlighting the delicate contours of her face and the piercing gaze that commands attention. Rich fabrics drape elegantly across her statuesque form, with a subtle emphasis on the ornate jewelry and intricately designed headdress that crowns her majestic presence | ![埃及装扮图片1](./contrast_imgs/2-1.jpg) | ![埃及装扮图片2](./contrast_imgs/2-2.jpg) |
110
+ | A blonde woman in a short dress stands on a balcony, teasing smile and biting her lip. Twilight casts a warm glow, (anime-style:1.2). Behind her, a jungle teems with life, tropical storm clouds gathering, lightning flickering in the distance. | ![阳台场景图片1](./contrast_imgs/3-1.jpg) | ![阳台场景图片2](./contrast_imgs/3-2.jpg) |
111
+
112
+ ## Community Model Integration
113
+
114
+ **TensorArt-TurboX-SD3.5Large** seamlessly integrates with various **community models**:
115
+
116
+ - ✅ **Photorealistic Models**: Enhances realism while maintaining the original style.
117
+ - ✅ **Anime-Style Models**: Preserves artistic style while boosting generation speed.
118
+ - ✅ **LoRA Models**: Works with **style, character, and concept LoRAs**.
119
+
120
+ ## Limitations
121
+
122
+ While highly optimized, this model may **not** be suitable for:
123
+
124
+ 1. **Rendering precise English text** in images.
125
+ 2. **Generating anatomically perfect hands**.
126
+ 3. **Experiments with non-recommended samplers or schedulers** _(Best performance with Euler + Simple scheduler)_.
127
+
128
+ ## Model Links
129
+
130
+ - **TensorArt (LoRA Version)**: [TensorArt-TurboX-SD3.5Large-8steps](https://tensor.art/models/834787530596537105/TensorArt-TurboX-SD3.5Large-8steps)
131
+
132
+
133
+ ## Contact
134
+ * Website: https://tensor.art https://tusiart.com
135
+ * Developed by: TensorArt
ckpt_ad.webp ADDED
contrast_imgs/1-1.jpg ADDED
contrast_imgs/1-2.jpg ADDED
contrast_imgs/2-1.jpg ADDED
contrast_imgs/2-2.jpg ADDED
contrast_imgs/3-1.jpg ADDED
contrast_imgs/3-2.jpg ADDED