Text-to-Image
Diffusers
Safetensors
LensPipeline
lens
sdnq
uint4
static-quantization
ablation
model-cpu-offload
Instructions to use WaveCut/Lens-SDNQ-uint4-static with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use WaveCut/Lens-SDNQ-uint4-static with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("WaveCut/Lens-SDNQ-uint4-static", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
File size: 16,827 Bytes
9a16379 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 | [
{
"id": "P01",
"title": "Midnight Library Weather Station",
"seed": 301,
"prompt": "A vast midnight library converted into a Victorian weather station, brass barometers, hanging cloud chambers, blue lightning outside stained-glass windows, spiral ladders, rainwater collecting in crystal funnels, and readable labels everywhere. Include a large oak sign saying \"ARCHIVE OF STORMS - EAST WING\", a ledger title saying \"BAROMETRIC ANOMALIES 1897-1903\", a small drawer label saying \"FOG SAMPLES / DO NOT SHAKE\", a chalkboard note saying \"THUNDER ARRIVES AT 02:17\", and a bookmark saying \"RETURN TO SHELF C-19\". Extremely detailed, cinematic, natural perspective, crisp small typography.",
"base": {
"id": "P01",
"title": "Midnight Library Weather Station",
"seed": 301,
"time_s": 19.518,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 27.461,
"peak_reserved_gb": 31.74,
"end_allocated_gb": 22.377,
"end_reserved_gb": 31.74,
"image": "/workspace/lens_sdnq_work/generated/base/p01_base.png"
},
"quant": {
"id": "P01",
"title": "Midnight Library Weather Station",
"seed": 301,
"time_s": 24.105,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 23.532,
"peak_reserved_gb": 27.682,
"end_allocated_gb": 18.448,
"end_reserved_gb": 27.682,
"image": "/workspace/lens_sdnq_work/generated/quant/p01_quant.png"
}
},
{
"id": "P02",
"title": "Desert Observatory Treaty Room",
"seed": 302,
"prompt": "An ancient desert observatory at golden hour, now used as a treaty room for astronomers and nomad diplomats, sandstone arches, astrolabes, folded star maps, copper tea service, wind-blown curtains, tiny dust motes, and many readable inscriptions. The central parchment must read \"TREATY OF THE SEVEN MOONS\". A wall plaque reads \"OBSERVATORY OF QASR AL-SUHAIL\". A tea label says \"CARDAMOM - NO SUGAR\". A blue wax seal says \"WITNESSED UNDER MARS\". A telescope tag says \"CALIBRATE BEFORE SUNSET\". Hyperreal, warm shadows, intricate surface wear.",
"base": {
"id": "P02",
"title": "Desert Observatory Treaty Room",
"seed": 302,
"time_s": 16.986,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 27.461,
"peak_reserved_gb": 31.74,
"end_allocated_gb": 22.377,
"end_reserved_gb": 31.74,
"image": "/workspace/lens_sdnq_work/generated/base/p02_base.png"
},
"quant": {
"id": "P02",
"title": "Desert Observatory Treaty Room",
"seed": 302,
"time_s": 18.565,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 23.532,
"peak_reserved_gb": 27.712,
"end_allocated_gb": 18.448,
"end_reserved_gb": 27.712,
"image": "/workspace/lens_sdnq_work/generated/quant/p02_quant.png"
}
},
{
"id": "P03",
"title": "Arctic Submarine Greenhouse",
"seed": 303,
"prompt": "A transparent research submarine trapped under Arctic ice, transformed into a warm hydroponic greenhouse with orange grow lights, condensation, polar bears visible above through thick ice, scientists in wool sweaters, algae tanks, and frost patterns on glass. Include readable text on multiple objects: \"POLAR BOTANY UNIT 4\" on the bulkhead, \"EMERGENCY SEED VAULT\" on a red locker, \"LIGHT CYCLE: 18 HOURS\" on a tablet, \"DO NOT FEED THE KELP\" on a handwritten note, and \"RETURN CORE SAMPLES\" on a metal tray. Detailed, atmospheric, believable engineering.",
"base": {
"id": "P03",
"title": "Arctic Submarine Greenhouse",
"seed": 303,
"time_s": 13.903,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 27.461,
"peak_reserved_gb": 31.719,
"end_allocated_gb": 22.377,
"end_reserved_gb": 31.719,
"image": "/workspace/lens_sdnq_work/generated/base/p03_base.png"
},
"quant": {
"id": "P03",
"title": "Arctic Submarine Greenhouse",
"seed": 303,
"time_s": 17.882,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 23.532,
"peak_reserved_gb": 27.712,
"end_allocated_gb": 18.448,
"end_reserved_gb": 27.712,
"image": "/workspace/lens_sdnq_work/generated/quant/p03_quant.png"
}
},
{
"id": "P04",
"title": "Long English Museum Labels",
"seed": 304,
"prompt": "A photorealistic museum exhibit room about impossible machines, with glass cases, velvet ropes, soft spotlights, and several long English placards that must be visible on different parts of the image. Placard one reads: \"THE CLOCK THAT REMEMBERED WINTER: assembled from brass, bone, and borrowed tides, circa 1814.\" Placard two reads: \"PLEASE DO NOT TOUCH THE PERPETUAL ENGINE; it becomes anxious when observed too closely.\" Placard three reads: \"CURATOR'S NOTE: every gear was catalogued, polished, numbered, and returned before dawn.\" Also include ticket stubs, tiny accession numbers, fingerprints on glass, and realistic museum lighting.",
"base": {
"id": "P04",
"title": "Long English Museum Labels",
"seed": 304,
"time_s": 14.439,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 27.461,
"peak_reserved_gb": 31.719,
"end_allocated_gb": 22.377,
"end_reserved_gb": 31.719,
"image": "/workspace/lens_sdnq_work/generated/base/p04_base.png"
},
"quant": {
"id": "P04",
"title": "Long English Museum Labels",
"seed": 304,
"time_s": 17.848,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 23.533,
"peak_reserved_gb": 27.712,
"end_allocated_gb": 18.448,
"end_reserved_gb": 27.712,
"image": "/workspace/lens_sdnq_work/generated/quant/p04_quant.png"
}
},
{
"id": "P05",
"title": "Tokyo Rooftop Repair Diner",
"seed": 305,
"prompt": "A rainy Tokyo rooftop diner that doubles as a robot repair shop, neon reflections, steam from ramen bowls, umbrellas, tiny servo motors, handwritten order slips, rain beads on chrome, and a skyline full of antennas. Readable signs: a pink neon sign says \"MIDNIGHT RAMEN & REPAIRS\", a menu board says \"SPECIAL: MISO, BATTERY PACK, GREEN TEA\", a repair invoice says \"UNIT 7B - LEFT HAND RECALIBRATION\", a sticker says \"NO DRONES AFTER 2 AM\", and a paper lantern says \"OPEN WHEN IT RAINS\". High detail, shallow depth of field, cinematic realism.",
"base": {
"id": "P05",
"title": "Tokyo Rooftop Repair Diner",
"seed": 305,
"time_s": 14.253,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 27.461,
"peak_reserved_gb": 31.74,
"end_allocated_gb": 22.377,
"end_reserved_gb": 31.74,
"image": "/workspace/lens_sdnq_work/generated/base/p05_base.png"
},
"quant": {
"id": "P05",
"title": "Tokyo Rooftop Repair Diner",
"seed": 305,
"time_s": 17.779,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 23.532,
"peak_reserved_gb": 27.712,
"end_allocated_gb": 18.448,
"end_reserved_gb": 27.712,
"image": "/workspace/lens_sdnq_work/generated/quant/p05_quant.png"
}
},
{
"id": "P06",
"title": "Russian Provincial Print Shop",
"seed": 306,
"prompt": "\u0421\u0442\u0430\u0440\u0438\u043d\u043d\u0430\u044f \u043f\u0440\u043e\u0432\u0438\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0442\u0438\u043f\u043e\u0433\u0440\u0430\u0444\u0438\u044f \u0432 \u0420\u043e\u0441\u0441\u0438\u0438, \u043f\u043e\u0437\u0434\u043d\u0438\u0439 \u0432\u0435\u0447\u0435\u0440, \u043a\u0435\u0440\u043e\u0441\u0438\u043d\u043e\u0432\u044b\u0435 \u043b\u0430\u043c\u043f\u044b, \u0434\u0435\u0440\u0435\u0432\u044f\u043d\u043d\u044b\u0435 \u043a\u0430\u0441\u0441\u044b \u0441\u043e \u0441\u0432\u0438\u043d\u0446\u043e\u0432\u044b\u043c\u0438 \u043b\u0438\u0442\u0435\u0440\u0430\u043c\u0438, \u043c\u043e\u043a\u0440\u044b\u0435 \u0430\u0444\u0438\u0448\u0438 \u043d\u0430 \u0432\u0435\u0440\u0435\u0432\u043a\u0430\u0445, \u0441\u0430\u043c\u043e\u0432\u0430\u0440, \u0438\u043d\u0435\u0439 \u043d\u0430 \u043e\u043a\u043d\u0435, \u0440\u0435\u0430\u043b\u0438\u0441\u0442\u0438\u0447\u043d\u0430\u044f \u043f\u044b\u043b\u044c \u0438 \u0441\u043b\u0435\u0434\u044b \u043a\u0440\u0430\u0441\u043a\u0438. \u041d\u0430 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0432\u044b\u0432\u0435\u0441\u043a\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e: \"\u0422\u0418\u041f\u041e\u0413\u0420\u0410\u0424\u0418\u042f \u0423\u0415\u0417\u0414\u041d\u042b\u0425 \u0412\u0415\u0421\u0422\u0415\u0419\". \u041d\u0430 \u0434\u043b\u0438\u043d\u043d\u043e\u0439 \u0430\u0444\u0438\u0448\u0435 \u0447\u0438\u0442\u0430\u0435\u043c\u044b\u0439 \u0442\u0435\u043a\u0441\u0442: \"\u0417\u0430\u0432\u0442\u0440\u0430 \u0432 \u0433\u043e\u0440\u043e\u0434\u0441\u043a\u043e\u043c \u0441\u0430\u0434\u0443: \u043b\u0435\u043a\u0446\u0438\u044f \u043e \u043a\u043e\u043c\u0435\u0442\u0430\u0445, \u0434\u0443\u0445\u043e\u0432\u043e\u0439 \u043e\u0440\u043a\u0435\u0441\u0442\u0440, \u0447\u0430\u0439 \u0441 \u0431\u0430\u0440\u0430\u043d\u043a\u0430\u043c\u0438, \u043d\u0430\u0447\u0430\u043b\u043e \u0440\u043e\u0432\u043d\u043e \u0432 \u0441\u0435\u043c\u044c \u0447\u0430\u0441\u043e\u0432 \u0432\u0435\u0447\u0435\u0440\u0430\". \u041d\u0430 \u044f\u0449\u0438\u043a\u0435: \"\u041b\u0418\u0422\u0415\u0420\u042b: \u0410-\u042f, \u041d\u0415 \u0420\u041e\u041d\u042f\u0422\u042c\". \u041d\u0430 \u0437\u0430\u043f\u0438\u0441\u043a\u0435: \"\u0421\u0440\u043e\u0447\u043d\u043e \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c \u0434\u043e \u0440\u0430\u0441\u0441\u0432\u0435\u0442\u0430\". \u041e\u0447\u0435\u043d\u044c \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e, \u0431\u0435\u0437 \u043c\u0443\u043b\u044c\u0442\u044f\u0448\u043d\u043e\u0441\u0442\u0438.",
"base": {
"id": "P06",
"title": "Russian Provincial Print Shop",
"seed": 306,
"time_s": 16.744,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 27.467,
"peak_reserved_gb": 31.965,
"end_allocated_gb": 22.377,
"end_reserved_gb": 31.965,
"image": "/workspace/lens_sdnq_work/generated/base/p06_base.png"
},
"quant": {
"id": "P06",
"title": "Russian Provincial Print Shop",
"seed": 306,
"time_s": 18.136,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 23.538,
"peak_reserved_gb": 27.615,
"end_allocated_gb": 18.448,
"end_reserved_gb": 27.615,
"image": "/workspace/lens_sdnq_work/generated/quant/p06_quant.png"
}
},
{
"id": "P07",
"title": "Ocean Cartography Bakery",
"seed": 307,
"prompt": "A cozy bakery inside an old ocean cartography office, with croissants shaped like sea monsters, nautical charts dusted with flour, brass compasses, jars of ink, morning light, and a baker drawing coastlines in powdered sugar. Text elements: \"TIDAL BREAD & MAPS\" on the front sign, \"SOURDOUGH CURRENT - 6:30 AM\" on a chalkboard, \"UNCHARTED PLUM TARTS\" on a pastry label, \"DO NOT EAT THE COMPASS\" on a note, and \"NORTH SEA BATCH 12\" stamped on a paper bag. Warm, detailed, whimsical but realistic.",
"base": {
"id": "P07",
"title": "Ocean Cartography Bakery",
"seed": 307,
"time_s": 13.918,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 27.461,
"peak_reserved_gb": 31.74,
"end_allocated_gb": 22.377,
"end_reserved_gb": 31.74,
"image": "/workspace/lens_sdnq_work/generated/base/p07_base.png"
},
"quant": {
"id": "P07",
"title": "Ocean Cartography Bakery",
"seed": 307,
"time_s": 14.828,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 23.532,
"peak_reserved_gb": 27.712,
"end_allocated_gb": 18.448,
"end_reserved_gb": 27.712,
"image": "/workspace/lens_sdnq_work/generated/quant/p07_quant.png"
}
},
{
"id": "P08",
"title": "Long English Train Notice Wall",
"seed": 308,
"prompt": "A foggy Edwardian railway platform at dawn with a wall of overlapping long English notices, brass lamps, wet cobblestones, porters, suitcases, pigeons, steam, and reflections. The largest notice must read: \"IMPORTANT SERVICE CHANGE: The 6:42 express to Northbridge will depart from Platform Three after the moonlit freight has cleared the signal box.\" A second poster reads: \"LOST PROPERTY: one violin case, two blue gloves, a silver compass, and a letter never posted.\" A timetable says \"WINTER ROUTE - DELAYS EXPECTED NEAR THE MARSH\". Ultra detailed, cinematic, legible signs, natural perspective.",
"base": {
"id": "P08",
"title": "Long English Train Notice Wall",
"seed": 308,
"time_s": 13.906,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 27.461,
"peak_reserved_gb": 31.74,
"end_allocated_gb": 22.377,
"end_reserved_gb": 31.74,
"image": "/workspace/lens_sdnq_work/generated/base/p08_base.png"
},
"quant": {
"id": "P08",
"title": "Long English Train Notice Wall",
"seed": 308,
"time_s": 14.826,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 23.532,
"peak_reserved_gb": 27.712,
"end_allocated_gb": 18.448,
"end_reserved_gb": 27.712,
"image": "/workspace/lens_sdnq_work/generated/quant/p08_quant.png"
}
},
{
"id": "P09",
"title": "Orbital Botanical Courtroom",
"seed": 309,
"prompt": "A surreal but photorealistic courtroom inside an orbital botanical garden, judges in dark robes, enormous ferns, floating pollen, Earth visible through a curved window, holographic evidence screens, and a tiny robot stenographer. Required readable text: \"CASE 44-B: THE PEOPLE VS. THE SUNFLOWER\" on the main screen, \"EVIDENCE: THREE PETALS AND A BROKEN VASE\" on a side display, \"SILENCE IN THE GREENHOUSE COURT\" on a sign, \"WITNESS: DR. LYSANDER MOSS\" on a nameplate, and \"OXYGEN TAX RECEIPT\" on a paper slip. Sharp, high-detail, dramatic lighting.",
"base": {
"id": "P09",
"title": "Orbital Botanical Courtroom",
"seed": 309,
"time_s": 16.204,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 27.461,
"peak_reserved_gb": 31.719,
"end_allocated_gb": 22.377,
"end_reserved_gb": 31.719,
"image": "/workspace/lens_sdnq_work/generated/base/p09_base.png"
},
"quant": {
"id": "P09",
"title": "Orbital Botanical Courtroom",
"seed": 309,
"time_s": 17.74,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 23.533,
"peak_reserved_gb": 27.712,
"end_allocated_gb": 18.448,
"end_reserved_gb": 27.712,
"image": "/workspace/lens_sdnq_work/generated/quant/p09_quant.png"
}
},
{
"id": "P10",
"title": "Byzantine Data Center Chapel",
"seed": 310,
"prompt": "A Byzantine chapel converted into a quiet data center, gold mosaics reflecting server LEDs, incense smoke, marble floors, monks maintaining fiber cables, illuminated manuscripts next to diagnostic terminals, and beautiful cable management. Text must appear in multiple places: \"SANCTUM SERVER ROOM - AUTHORIZED MONKS ONLY\" on a bronze door, \"BACKUP PSALMS COMPLETED AT 03:12\" on a terminal, \"DO NOT UNPLUG THE RELIQUARY\" on a warning label, \"LATENCY PRAYER REQUESTS\" on a clipboard, and \"ARCHIVE NODE IX\" etched on a server rack. Rich texture, controlled highlights, realistic scale.",
"base": {
"id": "P10",
"title": "Byzantine Data Center Chapel",
"seed": 310,
"time_s": 13.703,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 27.461,
"peak_reserved_gb": 31.74,
"end_allocated_gb": 22.377,
"end_reserved_gb": 31.74,
"image": "/workspace/lens_sdnq_work/generated/base/p10_base.png"
},
"quant": {
"id": "P10",
"title": "Byzantine Data Center Chapel",
"seed": 310,
"time_s": 17.665,
"image_size": [
1440,
1440
],
"peak_allocated_gb": 23.532,
"peak_reserved_gb": 27.712,
"end_allocated_gb": 18.448,
"end_reserved_gb": 27.712,
"image": "/workspace/lens_sdnq_work/generated/quant/p10_quant.png"
}
}
] |