Text-to-Image
Diffusers
Safetensors
QwenImage21Pipeline
image-generation
image-editing
bitsandbytes
int8
qwen-image-2.1-turbo
8-bit precision
Instructions to use ixim/Image21-Turbo-INT8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ixim/Image21-Turbo-INT8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ixim/Image21-Turbo-INT8", 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 Settings
- Draw Things
- DiffusionBee
Download evaluation/cache-release-validation.json from ixim/Image21-Turbo-INT8: direct link, hf CLI and curl.
- Browser
- Download file 17.7 kB
-
https://huggingface.co/ixim/Image21-Turbo-INT8/resolve/main/evaluation/cache-release-validation.json
- Command line
-
hf download hf://ixim/Image21-Turbo-INT8/evaluation/cache-release-validation.json
-
curl -L -o cache-release-validation.json https://huggingface.co/ixim/Image21-Turbo-INT8/resolve/main/evaluation/cache-release-validation.json
17.7 kB
| { | |
| "scope": "Instance-local prefix KV release immediately before unchanged VAE decode", | |
| "final_outputs": 44, | |
| "previous_successful_outputs_compared": 43, | |
| "all_compared_png_bytes_identical": true, | |
| "previous_failure": "Final 2048px INT8 boat-edit decode failed with CUDNN_STATUS_INTERNAL_ERROR_HOST_ALLOCATION_FAILED; previous outputs and logs are retained locally under artifacts/turbo/diagnostic-prefix-cache.", | |
| "tensor_byte_count": "Logical K/V tensor sizes before release, not a unique allocator-storage measurement", | |
| "outputs": [ | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "portrait-s42.png", | |
| "sha256": "4dedc1bdabee269a73070712aa7e8d6982ff5dc23a938b68b4a003ff23fd8be2", | |
| "released_prefix_tensor_bytes": 26738688, | |
| "previous_peak_allocated_bytes": 17611056128, | |
| "final_peak_allocated_bytes": 17611056128, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "portrait-s123.png", | |
| "sha256": "5c3945b9a963c824ff4e86ef20ad69695af9238c542ac4401e1f03c4cc8472b0", | |
| "released_prefix_tensor_bytes": 26738688, | |
| "previous_peak_allocated_bytes": 17611056128, | |
| "final_peak_allocated_bytes": 17611056128, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "english_text-s42.png", | |
| "sha256": "6accbdfa64c1941be7fab643b3e222a94f8d4dd0a439a3fa262c4fb5e48577b5", | |
| "released_prefix_tensor_bytes": 31981568, | |
| "previous_peak_allocated_bytes": 17619124224, | |
| "final_peak_allocated_bytes": 17619124224, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "english_text-s123.png", | |
| "sha256": "fdb4d4ce714b148526411edd76ef449cb5987a8c2fbc3c5a22aa07e3b0788b3c", | |
| "released_prefix_tensor_bytes": 31981568, | |
| "previous_peak_allocated_bytes": 17619124224, | |
| "final_peak_allocated_bytes": 17619124224, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "chinese_text-s42.png", | |
| "sha256": "ef03f45d2261c807c4c5ae860f032d38952a05a4ccf4fc2206ea82bfcca62f97", | |
| "released_prefix_tensor_bytes": 34603008, | |
| "previous_peak_allocated_bytes": 17623597568, | |
| "final_peak_allocated_bytes": 17623597568, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "chinese_text-s123.png", | |
| "sha256": "12e28b5b8417a67934fa18ee22ad010da33eb19b3e400147635b7c7a18b8d3c3", | |
| "released_prefix_tensor_bytes": 34603008, | |
| "previous_peak_allocated_bytes": 17623597568, | |
| "final_peak_allocated_bytes": 17623597568, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "composition-s42.png", | |
| "sha256": "601c80cb8d54f8d339ba009157e75fb462e90f4cc9531ab61f315b1d74dad551", | |
| "released_prefix_tensor_bytes": 34078720, | |
| "previous_peak_allocated_bytes": 17621962752, | |
| "final_peak_allocated_bytes": 17621962752, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "composition-s123.png", | |
| "sha256": "9b3d3169b8d436b7d975f143b58bab232abe842b6c074c9e9cb79dddc2a5da23", | |
| "released_prefix_tensor_bytes": 34078720, | |
| "previous_peak_allocated_bytes": 17621962752, | |
| "final_peak_allocated_bytes": 17621962752, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "texture-s42.png", | |
| "sha256": "861e02df7f623a3236fb637bdfbffc7bb49d605c711d652459556670d8b1782e", | |
| "released_prefix_tensor_bytes": 23592960, | |
| "previous_peak_allocated_bytes": 17607326208, | |
| "final_peak_allocated_bytes": 17607326208, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "texture-s123.png", | |
| "sha256": "e54af5b6bf54fdb98ac9c427494d510d05248aa44fca72d8b180db7048f280e4", | |
| "released_prefix_tensor_bytes": 23592960, | |
| "previous_peak_allocated_bytes": 17607326208, | |
| "final_peak_allocated_bytes": 17607326208, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "rgba-s42.png", | |
| "sha256": "0b3dfdd55a021a72c0ce4645915ff15b4f0dc8bfbba25d4a7192ad0d9017758a", | |
| "released_prefix_tensor_bytes": 22544384, | |
| "previous_peak_allocated_bytes": 17604822528, | |
| "final_peak_allocated_bytes": 17604822528, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "rgba-s123.png", | |
| "sha256": "e02965b1f392f66fc943037ce30729665cca6aa4152423b465988edac7d3a1d4", | |
| "released_prefix_tensor_bytes": 22544384, | |
| "previous_peak_allocated_bytes": 17604822528, | |
| "final_peak_allocated_bytes": 17604822528, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "edit-s1000042.png", | |
| "sha256": "0ffb5019eafc71eb22b83914e20411c74705810575ecde23cb66e68565b19992", | |
| "released_prefix_tensor_bytes": 2166882304, | |
| "previous_peak_allocated_bytes": 20488328192, | |
| "final_peak_allocated_bytes": 20488328192, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "edit-s1000123.png", | |
| "sha256": "655af26b2bab89e58ac1a8992ded77c803e27fab41e8129684625059da399a0e", | |
| "released_prefix_tensor_bytes": 2166882304, | |
| "previous_peak_allocated_bytes": 20488328192, | |
| "final_peak_allocated_bytes": 20488328192, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "young_chinese_woman-s42.png", | |
| "sha256": "9a344bdfd2adb7ae177088acbcd9f2068f0c210282cfe16053b89e8969eebe9b", | |
| "released_prefix_tensor_bytes": 57671680, | |
| "previous_peak_allocated_bytes": 17658135552, | |
| "final_peak_allocated_bytes": 17658135552, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "young_chinese_woman-s123.png", | |
| "sha256": "af1660e79cfa3c48423b8169add72a8bebf067d529a33ff02b9ffadf6d8cf12c", | |
| "released_prefix_tensor_bytes": 57671680, | |
| "previous_peak_allocated_bytes": 17658135552, | |
| "final_peak_allocated_bytes": 17658135552, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "edit_boat-s20261009.png", | |
| "sha256": "4cbf7ec700fcc220f30a2e4802a3a3b41ff376487d565390dabb8eb6c7f5aefe", | |
| "released_prefix_tensor_bytes": 2191523840, | |
| "previous_peak_allocated_bytes": 20493308928, | |
| "final_peak_allocated_bytes": 20493308928, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "bf16", | |
| "image": "edit_boat-s20261010.png", | |
| "sha256": "4dec4b37788b3717cc4a6b05ee525a682904ba56205e438a92ce2e583c7e07d8", | |
| "released_prefix_tensor_bytes": 2191523840, | |
| "previous_peak_allocated_bytes": 20493308928, | |
| "final_peak_allocated_bytes": 20493308928, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "portrait-s42.png", | |
| "sha256": "b14f3e8f899186c38ec0bc38776a57b5da5ca2f1562eaa7bfc8917654131390b", | |
| "released_prefix_tensor_bytes": 26738688, | |
| "previous_peak_allocated_bytes": 10759266816, | |
| "final_peak_allocated_bytes": 10759266816, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "portrait-s123.png", | |
| "sha256": "3c99867b5c23ad9dc0fda57c9f684f40a9773c6eac9a9807f8dd60356b2c8256", | |
| "released_prefix_tensor_bytes": 26738688, | |
| "previous_peak_allocated_bytes": 10759266816, | |
| "final_peak_allocated_bytes": 10759266816, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "english_text-s42.png", | |
| "sha256": "fc42f62ec713f94e0c8b241bb916e4186c451af5be0549093595310ee25f8e88", | |
| "released_prefix_tensor_bytes": 31981568, | |
| "previous_peak_allocated_bytes": 10768942080, | |
| "final_peak_allocated_bytes": 10768942080, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "english_text-s123.png", | |
| "sha256": "91d9c4e815bed2759edb491e68e31bc666be982d15a1fea94e7f4cada8bd38d9", | |
| "released_prefix_tensor_bytes": 31981568, | |
| "previous_peak_allocated_bytes": 10768943616, | |
| "final_peak_allocated_bytes": 10768943616, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "chinese_text-s42.png", | |
| "sha256": "5f9a94b24f2c56dc604f2e82c737ded3ca8e12c9bae8eb30c80a36bd8c01efcd", | |
| "released_prefix_tensor_bytes": 34603008, | |
| "previous_peak_allocated_bytes": 10764592128, | |
| "final_peak_allocated_bytes": 10764592128, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "chinese_text-s123.png", | |
| "sha256": "f9487421b44a946d3c382d74121448c68321b9f85f3cc936ee6c5fa1e6ad94cc", | |
| "released_prefix_tensor_bytes": 34603008, | |
| "previous_peak_allocated_bytes": 10764589056, | |
| "final_peak_allocated_bytes": 10764589056, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "composition-s42.png", | |
| "sha256": "b2d3b973a49ef5c300eb80f2c77dc36d885245a5346b12bc5f487f97101c4e3e", | |
| "released_prefix_tensor_bytes": 34078720, | |
| "previous_peak_allocated_bytes": 10764023808, | |
| "final_peak_allocated_bytes": 10764023808, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "composition-s123.png", | |
| "sha256": "0102b9f19101593601a15754c2971e3d0f6c319b8beddb520963b3163fc14dba", | |
| "released_prefix_tensor_bytes": 34078720, | |
| "previous_peak_allocated_bytes": 10764028416, | |
| "final_peak_allocated_bytes": 10764028416, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "texture-s42.png", | |
| "sha256": "fb68c9bbb43ed406979ab0f887b1f6f96fa3aea68c392e760cba48443b6a8fda", | |
| "released_prefix_tensor_bytes": 23592960, | |
| "previous_peak_allocated_bytes": 10755764224, | |
| "final_peak_allocated_bytes": 10755764224, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "texture-s123.png", | |
| "sha256": "9d05d3b055409e2e80fd295f7ed15c12959b5418bdb8768c43eec4541a15a79d", | |
| "released_prefix_tensor_bytes": 23592960, | |
| "previous_peak_allocated_bytes": 10755762176, | |
| "final_peak_allocated_bytes": 10755762176, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "rgba-s42.png", | |
| "sha256": "4186d5fd1658e7fd5be667bfd98e4d8986046690025248aac9b8561a9be842ed", | |
| "released_prefix_tensor_bytes": 22544384, | |
| "previous_peak_allocated_bytes": 10744820224, | |
| "final_peak_allocated_bytes": 10744820224, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "rgba-s123.png", | |
| "sha256": "9fa9e95d463ce0e27cf81509e7731b5d7f99baa96ce282e583e534135b601cd8", | |
| "released_prefix_tensor_bytes": 22544384, | |
| "previous_peak_allocated_bytes": 10744817664, | |
| "final_peak_allocated_bytes": 10744817664, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "edit-s1000042.png", | |
| "sha256": "51c78416b2e8cdb9c999fceb9afeb58c6af6434b221b09e8132c794dfc209085", | |
| "released_prefix_tensor_bytes": 2166882304, | |
| "previous_peak_allocated_bytes": 13550265344, | |
| "final_peak_allocated_bytes": 13550265344, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "edit-s1000123.png", | |
| "sha256": "169f11a0622c2295af312b4e8d69257fd8f6b38712bcf70bcc399b49a1bdc485", | |
| "released_prefix_tensor_bytes": 2166882304, | |
| "previous_peak_allocated_bytes": 13550265344, | |
| "final_peak_allocated_bytes": 13550265344, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "young_chinese_woman-s42.png", | |
| "sha256": "a28aea87f51e221158f835f7a7d3341abf295ec9e6dc413224963faa75365961", | |
| "released_prefix_tensor_bytes": 57671680, | |
| "previous_peak_allocated_bytes": 10801975296, | |
| "final_peak_allocated_bytes": 10801975296, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "young_chinese_woman-s123.png", | |
| "sha256": "4aef5cef5b87d1967868190b18f7b35883b794ffcf96d897664d83789fe42879", | |
| "released_prefix_tensor_bytes": 57671680, | |
| "previous_peak_allocated_bytes": 10801886720, | |
| "final_peak_allocated_bytes": 10801886720, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "edit_boat-s20261009.png", | |
| "sha256": "8e315b6c85ef12fa471f173d42b6572f05c5f9ae5c35f6e76bdc79dea5fbbcc2", | |
| "released_prefix_tensor_bytes": 2191523840, | |
| "previous_peak_allocated_bytes": 13553418240, | |
| "final_peak_allocated_bytes": 13553418240, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "core", | |
| "precision": "int8", | |
| "image": "edit_boat-s20261010.png", | |
| "sha256": "762117382b877e96feb807557736c09eee5cbc3b1740bfe33cb7b0058c7292bb", | |
| "released_prefix_tensor_bytes": 2191523840, | |
| "previous_peak_allocated_bytes": 13553418240, | |
| "final_peak_allocated_bytes": 13553418240, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "native", | |
| "precision": "bf16", | |
| "image": "portrait-s42.png", | |
| "sha256": "3118b6f436cd76a2af7e410268928feb7ebdd37393d0ba265d04eb9b25f1a9b7", | |
| "released_prefix_tensor_bytes": 26738688, | |
| "previous_peak_allocated_bytes": 28894520832, | |
| "final_peak_allocated_bytes": 28867782144, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "native", | |
| "precision": "bf16", | |
| "image": "portrait-s123.png", | |
| "sha256": "b9c0a543c0603813e88da646caa991b86165d34a40257fa718b6cc708f7725a1", | |
| "released_prefix_tensor_bytes": 26738688, | |
| "previous_peak_allocated_bytes": 28894520832, | |
| "final_peak_allocated_bytes": 28867782144, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "native", | |
| "precision": "bf16", | |
| "image": "edit_boat-s20261009.png", | |
| "sha256": "2661b7beb96d3769098f512e6285c6159fbff3bf2ae706dafc9bda9910ae1705", | |
| "released_prefix_tensor_bytes": 8646557696, | |
| "previous_peak_allocated_bytes": 37560260608, | |
| "final_peak_allocated_bytes": 28911409152, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "native", | |
| "precision": "bf16", | |
| "image": "edit_boat-s20261010.png", | |
| "sha256": "d4611deabd5308dd7dd0735864400b2e8b83e064074996d5dcd372c6e0fa2e63", | |
| "released_prefix_tensor_bytes": 8646557696, | |
| "previous_peak_allocated_bytes": 37560260608, | |
| "final_peak_allocated_bytes": 28911409152, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "native", | |
| "precision": "int8", | |
| "image": "portrait-s42.png", | |
| "sha256": "f51fe3e1a8821f77c84f86065dad4d0b056fe0a2816fa0e2ccbdb02d6d3b722f", | |
| "released_prefix_tensor_bytes": 26738688, | |
| "previous_peak_allocated_bytes": 28896013824, | |
| "final_peak_allocated_bytes": 28869275136, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "native", | |
| "precision": "int8", | |
| "image": "portrait-s123.png", | |
| "sha256": "7ec52f5135c41459a11a2e2adeb63adfe49f2aeabd176b038539f6c5f0239545", | |
| "released_prefix_tensor_bytes": 26738688, | |
| "previous_peak_allocated_bytes": 28896013824, | |
| "final_peak_allocated_bytes": 28872852992, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "native", | |
| "precision": "int8", | |
| "image": "edit_boat-s20261009.png", | |
| "sha256": "59ba95ab7abec3d9c8af498fd4feea9a55b7f0d6c6c4bc8f3ba4f9d8bcb7b9bb", | |
| "released_prefix_tensor_bytes": 8646557696, | |
| "previous_peak_allocated_bytes": 37559732224, | |
| "final_peak_allocated_bytes": 28910553088, | |
| "identical_to_previous_successful_output": true | |
| }, | |
| { | |
| "suite": "native", | |
| "precision": "int8", | |
| "image": "edit_boat-s20261010.png", | |
| "sha256": "18ffcadf18111de37dff076b1c4fc8e433d6fbd683fc1a0397bbe36a3d469724", | |
| "released_prefix_tensor_bytes": 8646557696, | |
| "previous_peak_allocated_bytes": null, | |
| "final_peak_allocated_bytes": 28910553088, | |
| "identical_to_previous_successful_output": null | |
| } | |
| ] | |
| } | |