Text-to-Image
Diffusers
Safetensors
English
Chinese
QwenImage21Pipeline
bitsandbytes
int8
image-generation
image-editing
rgba
8-bit precision
Instructions to use ixim/Image21-INT8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ixim/Image21-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-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
| 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,29.766559700000016,19.65371929999992,1.5145509735656058,16.40157413482666,22.8613600730896,0.013405879028141499,31.702880072340637,4.5881097321398556e-05 | |
| portrait,123,26.54884089999996,19.614630900000066,1.3535223290895506,16.40157413482666,22.86135959625244,0.0162954181432724,30.546014578484698,0.0001803267077775672 | |
| english_text,42,25.952576900000167,19.416275399999904,1.3366403373120828,16.409088134765625,22.861863613128662,0.026258574798703194,19.447587010373717,8.03704188001575e-06 | |
| english_text,123,25.878974200000357,19.404967399999805,1.3336262652005597,16.409088134765625,22.86188554763794,0.011798395775258541,25.825570953357694,1.0239845323667396e-05 | |
| chinese_text,42,25.469736900000044,19.544581299999663,1.303161040344235,16.413254261016846,22.862136363983154,0.05972025915980339,15.60138057172976,0.0001082326634787023 | |
| chinese_text,123,25.84774830000015,19.86057179999989,1.3014604292511,16.413254261016846,22.86215353012085,0.024602750316262245,20.44133777040833,6.83055113768205e-05 | |
| composition,42,25.38054239999974,19.130140400000073,1.326730586880567,16.411731719970703,22.862086296081543,0.02268194407224655,23.666249907034246,2.1964429834042676e-05 | |
| composition,123,25.351097499999923,19.303240899999764,1.3133078342300661,16.411731719970703,22.86205244064331,0.01959226094186306,22.865933886645216,3.4590328141348436e-05 | |
| texture,42,25.850519100000383,19.223099399999683,1.3447633267713743,16.39810037612915,22.86104154586792,0.06978315860033035,18.01562989780135,0.00019098912889603525 | |
| texture,123,25.7564997999998,19.567528400000356,1.3162878455308302,16.39810037612915,22.861046314239502,0.01683949865400791,27.92905075564026,5.856681673321873e-05 | |
| rgba,42,26.040632799999912,19.388802900000428,1.3430758430165555,16.395768642425537,22.860955238342285,0.018291756510734558,20.893335328149618,0.01108772773295641 | |
| rgba,123,25.074647800000093,19.288307799999984,1.2999921019510128,16.395768642425537,22.86095952987671,0.04646634683012962,17.051910336330792,0.029543064534664154 | |
| edit,42,31.15521630000012,25.399254500000097,1.2266193206576201,19.081242561340332,23.079509735107422,0.009711389429867268,36.48036013354599,0.00011113862274214625 | |
| edit,123,31.030128800000057,25.24017350000031,1.2293944334415798,19.081242561340332,23.080156326293945,0.003908749669790268,43.267885143031855,2.616058372950647e-05 | |