36 lines
808 B
JSON
36 lines
808 B
JSON
{
|
|
"loader": {
|
|
"class_type": "LensTurboLoader",
|
|
"inputs": {
|
|
"repo_id": "microsoft/Lens-Turbo",
|
|
"device": "cuda:0",
|
|
"dtype": "bf16",
|
|
"offload_mode": "cpu_text_encoder",
|
|
"cpu_construct": true,
|
|
"force_reload": false,
|
|
"evict_others": true,
|
|
"hf_cache_dir": ""
|
|
}
|
|
},
|
|
"sampler": {
|
|
"class_type": "LensTurboSampler",
|
|
"inputs": {
|
|
"pipeline": ["loader", 0],
|
|
"prompt": "A cat holding a sign that says \"hello world\"",
|
|
"negative_prompt": "",
|
|
"base_resolution": 1440,
|
|
"aspect_ratio": "1:1",
|
|
"num_inference_steps": 4,
|
|
"guidance_scale": 1.0,
|
|
"seed": 0
|
|
}
|
|
},
|
|
"save": {
|
|
"class_type": "SaveImage",
|
|
"inputs": {
|
|
"images": ["sampler", 0],
|
|
"filename_prefix": "LensTurbo"
|
|
}
|
|
}
|
|
}
|