Skip to content

Commit a1f2c69

Browse files
Merge pull request #7 from livepeer/ryan/feat/model-detection
Ryan/feat/model detection
2 parents db5bd4d + ea3fb31 commit a1f2c69

17 files changed

+76
-187
lines changed

README_CONFIG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ output_image = wrapper(input_image)
5959
```yaml
6060
# Model and pipeline
6161
model_id: "stabilityai/sd-turbo"
62-
pipeline_type: "sdturbo"
6362

6463
# Generation mode
6564
mode: "txt2img" # or "img2img"
@@ -118,7 +117,6 @@ controlnets:
118117
| Parameter | Type | Default | Description |
119118
|-----------|------|---------|-------------|
120119
| `model_id` | str | *required* | Model ID or local path |
121-
| `pipeline_type` | str | `"sd1.5"` | Pipeline type: `"sd1.5"`, `"sdturbo"`, `"sdxlturbo"` |
122120
| `mode` | str | `"img2img"` | Generation mode: `"img2img"` or `"txt2img"` |
123121
| `width` | int | `512` | Output image width |
124122
| `height` | int | `512` | Output image height |

README_CONTROLNET.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ config = {
141141
'high_threshold': 200
142142
},
143143
'enabled': True,
144-
'pipeline_type': 'sd1.5',
145144
'control_guidance_start': 0.0,
146145
'control_guidance_end': 1.0,
147146
}
@@ -173,7 +172,6 @@ controlnet_configs = [
173172
'high_threshold': 200
174173
},
175174
'enabled': True,
176-
'pipeline_type': 'sd1.5',
177175
'control_guidance_start': 0.0,
178176
'control_guidance_end': 1.0,
179177
}
@@ -226,7 +224,6 @@ output = wrapper(input_image)
226224
```yaml
227225
# Basic SD-Turbo + Canny ControlNet
228226
model_id: "stabilityai/sd-turbo"
229-
pipeline_type: "sdturbo"
230227
mode: "img2img"
231228
prompt: "a beautiful landscape, highly detailed"
232229

@@ -245,7 +242,6 @@ controlnets:
245242
```yaml
246243
# Multiple ControlNets with different strengths
247244
model_id: "stabilityai/sd-turbo"
248-
pipeline_type: "sdturbo"
249245
prompt: "a person in a detailed environment"
250246

251247
controlnets:
@@ -363,7 +359,6 @@ controlnet_config = {
363359
'preprocessor': str, # Preprocessor name
364360
'preprocessor_params': dict, # Preprocessor-specific parameters
365361
'enabled': bool, # Enable/disable this ControlNet
366-
'pipeline_type': str, # Pipeline type (sd1.5, sdturbo, soon sdxlturbo)
367362
'control_guidance_start': float, # Guidance start timestep (0.0-1.0)
368363
'control_guidance_end': float, # Guidance end timestep (0.0-1.0)
369364
}

configs/sd15_canny_depth.yaml.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ frame_buffer_size: 1
1616
delta: 0.7
1717

1818
# Advanced parameters
19-
pipeline_type: "sdturbo"
2019
use_lcm_lora: false
2120
use_tiny_vae: true
2221
acceleration: "tensorrt"

configs/sd15_depth_trt_example.yaml.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ delta: 0.7
1616
frame_buffer_size: 1
1717

1818
# Advanced parameters
19-
pipeline_type: "sd1.5"
2019
use_lcm_lora: true
2120
use_tiny_vae: true
2221
acceleration: "xformers"

configs/sd15_tile.yaml.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ guidance_scale: 1.1
1212
num_inference_steps: 50
1313

1414
# Advanced parameters
15-
pipeline_type: "sd1.5"
1615
use_lcm_lora: true
1716
use_tiny_vae: true
1817
acceleration: "xformers"

configs/sdturbo_color.yaml.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ use_denoising_batch: true
1717
delta: 0.7
1818

1919
# Advanced parameters
20-
pipeline_type: "sdturbo"
2120
use_lcm_lora: true
2221
use_tiny_vae: true
2322
acceleration: "tensorrt"

configs/sdturbo_mediapipe_pose_depth_trt.yaml.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ use_denoising_batch: true
1717
delta: 0.7
1818

1919
# Advanced parameters
20-
pipeline_type: "sdturbo"
2120
use_lcm_lora: true
2221
use_tiny_vae: true
2322
acceleration: "tensorrt"

configs/sdturbo_yolonas_pose_depth_trt.yaml.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ use_denoising_batch: true
1717
delta: 0.7
1818

1919
# Advanced parameters
20-
pipeline_type: "sdturbo"
2120
use_lcm_lora: true
2221
use_tiny_vae: true
2322
acceleration: "tensorrt"

configs/sdxlturbo_canny.yaml.example

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
model_id: "stabilityai/sdxl-turbo"
2-
pipeline_type: "sdxlturbo"
32
t_index_list: [32] # Controls denoising strength - lower values = less denoising, higher = more denoising
43
width: 1024
54
height: 1024
@@ -18,7 +17,6 @@ use_taesd: true # Use Tiny AutoEncoder XL for faster decoding
1817
safety_checker: false
1918

2019
# Advanced parameters
21-
pipeline_type: "sdxlturbo"
2220
use_lcm_lora: false # SD-XL Turbo already has optimizations built-in
2321
use_tiny_vae: true
2422
acceleration: "none" # Can be "tensorrt" for additional speed

demo/realtime-img2img/frontend/src/lib/components/PreprocessorDocs.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
use_denoising_batch: true,
4141
delta: 0.7,
4242
frame_buffer_size: 1,
43-
pipeline_type: "sd1.5",
4443
use_lcm_lora: true,
4544
use_tiny_vae: true,
4645
acceleration: "xformers",

0 commit comments

Comments
 (0)