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/comparison.csv from ixim/Image21-Turbo-INT8: direct link, hf CLI and curl.
- Browser
- Download file 3.21 kB
-
https://huggingface.co/ixim/Image21-Turbo-INT8/resolve/main/evaluation/comparison.csv
- Command line
-
hf download hf://ixim/Image21-Turbo-INT8/evaluation/comparison.csv
-
curl -L -o comparison.csv https://huggingface.co/ixim/Image21-Turbo-INT8/resolve/main/evaluation/comparison.csv
3.21 kB
| case_id,seed,bf16_seconds,int8_seconds,speed_ratio_bf16_over_int8,bf16_peak_allocated_gib,int8_peak_allocated_gib,rgb_mae_white,rgb_psnr_white_db,alpha_mae | |
| portrait,42,13.698692300007679,8.142406500002835,1.682388652544295,16.40157413482666,10.020348072052002,0.008281704038381577,38.30745307960744,7.96411040937528e-05 | |
| portrait,123,11.1179065000033,7.722765900020022,1.4396275432840036,16.40157413482666,10.020348072052002,0.03632671758532524,24.429657550759742,0.00025398025172762573 | |
| english_text,42,10.877258299995447,7.871879399986938,1.3817867052197847,16.409088134765625,10.029358863830566,0.027164550498127937,18.37708211652454,6.593440048163757e-06 | |
| english_text,123,10.803509399993345,7.8394571999961045,1.3780940598793898,16.409088134765625,10.029360294342041,0.03925064951181412,15.688139872939352,1.0561474482528865e-05 | |
| chinese_text,42,11.054914300009841,7.786235500010662,1.4198022009473903,16.413254261016846,10.025307655334473,0.023937905207276344,22.175119885213533,9.096181747736409e-05 | |
| chinese_text,123,10.948060499998974,7.880932799977018,1.3891833337331465,16.413254261016846,10.025304794311523,0.05823816731572151,17.02393177481492,0.00014594581443816423 | |
| composition,42,10.675204300001496,7.8668064000085,1.356993391878814,16.411731719970703,10.024778366088867,0.011968091130256653,29.511128890191316,3.591051063267514e-05 | |
| composition,123,10.657531000004383,7.865755600010743,1.3549278088413816,16.411731719970703,10.024782657623291,0.009010318666696548,30.77826612186479,1.4166737855703104e-05 | |
| texture,42,10.907169400015846,7.801496000000043,1.3980869053852987,16.39810037612915,10.017086029052734,0.033977340906858444,19.491940390771042,0.0001687516923993826 | |
| texture,123,10.658392200013623,7.78295480000088,1.3694531799172749,16.39810037612915,10.017084121704102,0.03091716580092907,22.158721444486154,0.00011986374738626182 | |
| rgba,42,10.80210190001526,7.930481499992311,1.3620991234927833,16.395768642425537,10.006893634796143,0.02393205277621746,19.451461960714106,0.016079537570476532 | |
| rgba,123,11.035196799988626,7.939362300006906,1.389934906986047,16.395768642425537,10.006891250610352,0.024623630568385124,20.4133931238025,0.010337145999073982 | |
| edit,1000042,12.793469500000356,9.721520999999484,1.3159946370533,19.081242561340332,12.619668006896973,0.0037707944866269827,42.747430465354874,6.536219734698534e-05 | |
| edit,1000123,12.805056199984392,9.58309860000736,1.3362125064615902,19.081242561340332,12.619668006896973,0.0033978258725255728,43.5888157254859,6.457682320615277e-05 | |
| young_chinese_woman,42,10.914148000010755,7.91403949999949,1.3790868746626117,16.445420265197754,10.060123443603516,0.010873041115701199,29.865644190499996,0.00014397106133401394 | |
| young_chinese_woman,123,10.917903900000965,7.738732900004834,1.4108128605904133,16.445420265197754,10.060040950775146,0.009522094391286373,31.454407255438262,0.00017289533570874482 | |
| edit_boat,20261009,12.931431899982272,9.46335179999005,1.366474814980023,19.085881233215332,12.622604370117188,0.006869558710604906,32.94231669966425,9.612287249183282e-05 | |
| edit_boat,20261010,12.914864899998065,9.47566039999947,1.3629514308046315,19.085881233215332,12.622604370117188,0.006736405659466982,37.00635442683772,0.00014121858112048358 | |