Text-to-Image
Diffusers
Safetensors
English
Chinese
QwenImage21Pipeline
sdnq
int4
uint4
image-generation
image-editing
apple-silicon
8-bit precision
Instructions to use ixim/Image21-INT4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ixim/Image21-INT4 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-INT4", 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 MANIFEST.json from ixim/Image21-INT4: direct link, hf CLI and curl.
- Browser
- Download file 14.5 kB
-
https://huggingface.co/ixim/Image21-INT4/resolve/main/MANIFEST.json
- Command line
-
hf download hf://ixim/Image21-INT4/MANIFEST.json
-
curl -L -o MANIFEST.json https://huggingface.co/ixim/Image21-INT4/resolve/main/MANIFEST.json
14.5 kB
| [ | |
| { | |
| "path": "benchmarks/cases.json", | |
| "size": 1962, | |
| "sha256": "c0bc77b0aa28c9f11442c30cafd07d31bca72a179c7b759fb2a5ed9e328896c8" | |
| }, | |
| { | |
| "path": "cards/huggingface.md", | |
| "size": 3932, | |
| "sha256": "680f175497736bf213024b760aa17a0e9b4ad976cea1b4839ff1259401cecf8c" | |
| }, | |
| { | |
| "path": "cards/modelscope.md", | |
| "size": 3726, | |
| "sha256": "d1331de85863a00e341c693198abf9cb8afa5b7f94305f6e86fcefa98a66863d" | |
| }, | |
| { | |
| "path": "CHANGES.md", | |
| "size": 653, | |
| "sha256": "ef6272bb35b8896bda8e4b359a2c593ae20516ef8925707b79f4ef7ce1094501" | |
| }, | |
| { | |
| "path": "conversion.json", | |
| "size": 1079, | |
| "sha256": "7b50874c8e58b499db338d8d13aa83f62f1c817136d5425cc0611fe1cd8d6fe3" | |
| }, | |
| { | |
| "path": "evaluation/bf16/chinese_text-s123.png", | |
| "size": 1194079, | |
| "sha256": "eae74256d7ed1b3519d39c7d58961cf7a937224d19a3c3239ca7eba4178edf49" | |
| }, | |
| { | |
| "path": "evaluation/bf16/chinese_text-s42.png", | |
| "size": 1303893, | |
| "sha256": "7082cb71d99705bc42e27e2c206b13e3beb9e62cfd6304cfabe203b82641692c" | |
| }, | |
| { | |
| "path": "evaluation/bf16/composition-s123.png", | |
| "size": 1220815, | |
| "sha256": "bc11612f260acd8af0d834f3b28c752cefd0437d24c9a01dae0d46647bdf29ae" | |
| }, | |
| { | |
| "path": "evaluation/bf16/composition-s42.png", | |
| "size": 1194343, | |
| "sha256": "91e967685fbbd79ba13daece22a0f72c863cb518db88d5d2a6f9aecfc5f292b1" | |
| }, | |
| { | |
| "path": "evaluation/bf16/edit-s1000042.png", | |
| "size": 1813053, | |
| "sha256": "a846f593fd08c74231fa6154654dc089668c2e4f2359b6e65f5d136cbe8fc493" | |
| }, | |
| { | |
| "path": "evaluation/bf16/edit-s1000123.png", | |
| "size": 1818914, | |
| "sha256": "e46d6f1316e09816be7d980a65277e53fbb5ba25578e2f6dfcd7e890d1b14b32" | |
| }, | |
| { | |
| "path": "evaluation/bf16/english_text-s123.png", | |
| "size": 905011, | |
| "sha256": "cf5e76dee9f0e403ebdf24a64e1fcd604ee2b6c8e645a032fba2807acc34adf2" | |
| }, | |
| { | |
| "path": "evaluation/bf16/english_text-s42.png", | |
| "size": 969130, | |
| "sha256": "ba31b0c8a312e96408096566013c667b3a32bd7720749ca47120960b17b41ca6" | |
| }, | |
| { | |
| "path": "evaluation/bf16/environment.json", | |
| "size": 8815, | |
| "sha256": "f2f4ca7f466cada65f482d4d08f106a74545c0d18269123eb355fe25b205412f" | |
| }, | |
| { | |
| "path": "evaluation/bf16/portrait-s123.png", | |
| "size": 1930022, | |
| "sha256": "cff376e50c41c4aee2b9e4aabc502f4791774f6ad285d8a7673a61ebb1fa650d" | |
| }, | |
| { | |
| "path": "evaluation/bf16/portrait-s42.png", | |
| "size": 1868618, | |
| "sha256": "01e37e178fb0d35d5c706b7edd76bc1a6c5b50ec3536901a467fd45295d097aa" | |
| }, | |
| { | |
| "path": "evaluation/bf16/records.jsonl", | |
| "size": 14333, | |
| "sha256": "17d1c4f42e3a0c22105f7e86079642630ea8953608e69aad7bd538cb2e170c02" | |
| }, | |
| { | |
| "path": "evaluation/bf16/rgba-s123.png", | |
| "size": 926957, | |
| "sha256": "6f1abbb1a64ac553fc576a0250d370ab5bb7e6d5e6372f42f67045a5bb0951a6" | |
| }, | |
| { | |
| "path": "evaluation/bf16/rgba-s42.png", | |
| "size": 850131, | |
| "sha256": "6f5dfea6ba02e41cbf20617b6e863e1adfa139d79fad2ca5c64dfc815f591d82" | |
| }, | |
| { | |
| "path": "evaluation/bf16/texture-s123.png", | |
| "size": 1760350, | |
| "sha256": "18c4403f388d0e03447473c03497141169f333fddeaeb40227163dc3b9d68d3e" | |
| }, | |
| { | |
| "path": "evaluation/bf16/texture-s42.png", | |
| "size": 1797822, | |
| "sha256": "40a0f73bb407a394fa9e8a3f6922455df716b9725ad07437fa10c1daca2c2095" | |
| }, | |
| { | |
| "path": "evaluation/comparison.csv", | |
| "size": 2206, | |
| "sha256": "c7bf94da06b673b1fce8fdd82dc903a9e8c42c6609c5a81b313355888b622447" | |
| }, | |
| { | |
| "path": "evaluation/comparison.html", | |
| "size": 6805, | |
| "sha256": "88a72e1c8d9465d5d4497271249e15bd927926160a74ff1420ca3de721610033" | |
| }, | |
| { | |
| "path": "evaluation/int4/chinese_text-s123.png", | |
| "size": 1252178, | |
| "sha256": "b1740259fff3ebc07d14c12a837a899267a468ff4318a53c163815a3d6be53fb" | |
| }, | |
| { | |
| "path": "evaluation/int4/chinese_text-s42.png", | |
| "size": 1319559, | |
| "sha256": "61387812385423c8c240d7f34875fd3b2b88cc1662db3ce084757c434915d1e8" | |
| }, | |
| { | |
| "path": "evaluation/int4/composition-s123.png", | |
| "size": 1120600, | |
| "sha256": "c7b45122d69e8b4720ab9e3877f86a8da172629ccc0335ce303195b5000944e8" | |
| }, | |
| { | |
| "path": "evaluation/int4/composition-s42.png", | |
| "size": 1089490, | |
| "sha256": "2074e38fd2af7d7cc8cf2f483553fdfbeeaad65094e70062462c0fa9b48b6f29" | |
| }, | |
| { | |
| "path": "evaluation/int4/edit-s1000042.png", | |
| "size": 1829190, | |
| "sha256": "ae986b19def44d5bb3fa42e0338322a5e15177dfd7b909c4241c0c299f7c0f7e" | |
| }, | |
| { | |
| "path": "evaluation/int4/edit-s1000123.png", | |
| "size": 1840221, | |
| "sha256": "c60c71631e6e0522d4ef29b13be4354231a09a14d3768881e9cfee328c6dc491" | |
| }, | |
| { | |
| "path": "evaluation/int4/english_text-s123.png", | |
| "size": 892793, | |
| "sha256": "add2118fcebc3e2f63788382b323813fe7d967f1e88c91ae271fec057156e3a1" | |
| }, | |
| { | |
| "path": "evaluation/int4/english_text-s42.png", | |
| "size": 976444, | |
| "sha256": "d6880ef09d3d5986da086e012b89e4a5fabfde16e16721e49c0436baadec53da" | |
| }, | |
| { | |
| "path": "evaluation/int4/environment.json", | |
| "size": 7981, | |
| "sha256": "a2b6db3e4e868212f09cb2a4759d8df385e20fec7767a0cb6a35b77d29009c0a" | |
| }, | |
| { | |
| "path": "evaluation/int4/portrait-s123.png", | |
| "size": 1966813, | |
| "sha256": "0f3b5e3c9c2464d3f2567c8f6e9040494de1fdf06042fcb0696df58b8f58e047" | |
| }, | |
| { | |
| "path": "evaluation/int4/portrait-s42.png", | |
| "size": 1910863, | |
| "sha256": "a084dccd83c651b709a301925fcc085f005d2b4f49fac3ff0817d6d78644e7d3" | |
| }, | |
| { | |
| "path": "evaluation/int4/records.jsonl", | |
| "size": 14312, | |
| "sha256": "c81e87e75d15575d12b57d1c63a865f40e0023da66ea9ae55c077922551218bc" | |
| }, | |
| { | |
| "path": "evaluation/int4/rgba-s123.png", | |
| "size": 959844, | |
| "sha256": "fb13ec3ed4d00651e1050c4b1c0f08ef47cd85f179e3b3bf516d58dde6dcd2ef" | |
| }, | |
| { | |
| "path": "evaluation/int4/rgba-s42.png", | |
| "size": 858470, | |
| "sha256": "47635b9cf96c9d47991df7c39b2bf8a5bd7c4b8e05ddea33034b83eff7e10f7c" | |
| }, | |
| { | |
| "path": "evaluation/int4/texture-s123.png", | |
| "size": 1772861, | |
| "sha256": "7c50f70eb4f31c8f4322330b40a2cfd892640157abcc2f4ded826b6f7b8345f6" | |
| }, | |
| { | |
| "path": "evaluation/int4/texture-s42.png", | |
| "size": 1749173, | |
| "sha256": "2f4809ffb0301e2ddddf66ddfb834d1e750175a675fb05067cb671292ff50187" | |
| }, | |
| { | |
| "path": "evaluation/qualitative.md", | |
| "size": 3941, | |
| "sha256": "3b90f2ebcc3ccd85bf9d03266c01c0d7bd5a1f731072a4dad58aa4860c799ea5" | |
| }, | |
| { | |
| "path": "evaluation/report.md", | |
| "size": 1622, | |
| "sha256": "e802bdac15dc1afeebfbad8c0de2930b525cf24d0d34b906119985a53ba1be50" | |
| }, | |
| { | |
| "path": "evaluation/summary.json", | |
| "size": 364, | |
| "sha256": "d91fbc1cc96b6df2e6ef9d5568e410ce53b4920a174e09c5a026c09de7a7b735" | |
| }, | |
| { | |
| "path": "evaluation/vram8/environment.json", | |
| "size": 8068, | |
| "sha256": "1f4720fce9a987b75218509f2a8a99d893fdd7a08d1e29f40a2ffed57bbeca0b" | |
| }, | |
| { | |
| "path": "evaluation/vram8/portrait-s42.png", | |
| "size": 1895579, | |
| "sha256": "b1b00f13a0671ce7d751fd964dc6735225eda168f30ce3c8eb99d80786f5fce3" | |
| }, | |
| { | |
| "path": "evaluation/vram8/records.jsonl", | |
| "size": 1024, | |
| "sha256": "b05e777da92280e188d3adcb25c3dcc0224d29dd8457b313721532eea0d4ffb1" | |
| }, | |
| { | |
| "path": "LICENSE", | |
| "size": 7831, | |
| "sha256": "8dc973f024ff95966bea25866efa443fd16776dcb1001e681e3d467ea572b28d" | |
| }, | |
| { | |
| "path": "model_index.json", | |
| "size": 447, | |
| "sha256": "cf1ecd104ea090855d60d8cec0895c1e9d6ee41b2f87e231b678beecd1cf7809" | |
| }, | |
| { | |
| "path": "Notice", | |
| "size": 540, | |
| "sha256": "5f1439a05fbaa3082014c8a84b615754eae3897a40ac40eecfeba8857b3f9412" | |
| }, | |
| { | |
| "path": "processor/added_tokens.json", | |
| "size": 707, | |
| "sha256": "c0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680" | |
| }, | |
| { | |
| "path": "processor/chat_template.jinja", | |
| "size": 5292, | |
| "sha256": "3636d0f0bd6bef02654cdffdc447b79cb2cef8ab02cc75267345946291a489e4" | |
| }, | |
| { | |
| "path": "processor/merges.txt", | |
| "size": 1671853, | |
| "sha256": "8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5" | |
| }, | |
| { | |
| "path": "processor/preprocessor_config.json", | |
| "size": 782, | |
| "sha256": "93585062a80db5e8ca038efc7726a3e6411d9db948472d81d63c6303993be8c5" | |
| }, | |
| { | |
| "path": "processor/special_tokens_map.json", | |
| "size": 613, | |
| "sha256": "76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd" | |
| }, | |
| { | |
| "path": "processor/tokenizer.json", | |
| "size": 11422654, | |
| "sha256": "aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4" | |
| }, | |
| { | |
| "path": "processor/tokenizer_config.json", | |
| "size": 5445, | |
| "sha256": "81ec7bb9530159b326c0bef1d0b6c33d392090524014ea3f0123a3c1eb9c2af5" | |
| }, | |
| { | |
| "path": "processor/video_preprocessor_config.json", | |
| "size": 817, | |
| "sha256": "59c5c9eb52182eb14c06ffb10ca9effd29adce5f238a95de23ca14a38dbd2cb1" | |
| }, | |
| { | |
| "path": "processor/vocab.json", | |
| "size": 2776833, | |
| "sha256": "ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910" | |
| }, | |
| { | |
| "path": "PUBLISHING.md", | |
| "size": 1518, | |
| "sha256": "e124dc0a0db1bb631f0eeb555cee9ccef2d8bb4c5d52f14e836aeef8107dbf0e" | |
| }, | |
| { | |
| "path": "README.md", | |
| "size": 15258, | |
| "sha256": "21f5dccda9df6bc420a1582d3346230a881570938c3d8b23dd3d3d3cb06a6724" | |
| }, | |
| { | |
| "path": "REPRODUCE.md", | |
| "size": 3934, | |
| "sha256": "4eb94f113b30688afcc42b84c6654d07d864f3daab8b815e6d647594f031a6d6" | |
| }, | |
| { | |
| "path": "requirements.txt", | |
| "size": 535, | |
| "sha256": "769f98c2ced47f56ee45154c6b406f3e6a2b57cce789e32859b5784ec57cb331" | |
| }, | |
| { | |
| "path": "scheduler/scheduler_config.json", | |
| "size": 485, | |
| "sha256": "5895f3a167c14a967fe9ac70c64924ae5acc79799e0679fd12907e594a713cd1" | |
| }, | |
| { | |
| "path": "scripts/__init__.py", | |
| "size": 49, | |
| "sha256": "b79bff612ea147f36889696512ad2f99face22211fe18191c43ec70b407cdcd5" | |
| }, | |
| { | |
| "path": "scripts/benchmark.py", | |
| "size": 8460, | |
| "sha256": "83bdbf97778874d8d7b2a605e357940cb6a5e0f3e05bed12bd3f2d176deceb06" | |
| }, | |
| { | |
| "path": "scripts/device.py", | |
| "size": 959, | |
| "sha256": "aab115693753a43732b52873e11ec2704855f8631b52ddacdd7fc976f55da3cd" | |
| }, | |
| { | |
| "path": "scripts/editing_protocol.py", | |
| "size": 1228, | |
| "sha256": "bf144383363627fff54502538106b18c6b4be7d990a5d85d0a8f6a6182106818" | |
| }, | |
| { | |
| "path": "scripts/infer.py", | |
| "size": 2842, | |
| "sha256": "2c9eefe9fecea041dfa3a7dbd6d4825e6dd81a526e6d3c018bd927efea431c91" | |
| }, | |
| { | |
| "path": "scripts/integrity.py", | |
| "size": 2151, | |
| "sha256": "6fc5f65222e70b85d56919f712db6402c9f7c22b41694e6f8dc2b0563d9d1297" | |
| }, | |
| { | |
| "path": "scripts/model_card.py", | |
| "size": 5477, | |
| "sha256": "e4bac49ac835ea15599d52d8aff72402a301dec7d082bb2f3abc7ac98b6c9b22" | |
| }, | |
| { | |
| "path": "scripts/provenance.py", | |
| "size": 4681, | |
| "sha256": "0920f7e3bd38d83713c4ebb2cb1775af97e06d760fb2b3bd520ce7d6da6aaa15" | |
| }, | |
| { | |
| "path": "scripts/quantize.py", | |
| "size": 7755, | |
| "sha256": "b1e47a72d59a24739a6939e12e3c9cbff0c38991fc2e52cfec1b029de878b515" | |
| }, | |
| { | |
| "path": "scripts/release.py", | |
| "size": 12518, | |
| "sha256": "17246624c3139e270ae5ed987fd5eb40e4bcc01d5802ab203514f93821ae5d9e" | |
| }, | |
| { | |
| "path": "scripts/report.py", | |
| "size": 7953, | |
| "sha256": "014757d9e7848cede3c93e9c48824df6a61cb3148bf751f6bcdf14190ae476c8" | |
| }, | |
| { | |
| "path": "scripts/runtime.py", | |
| "size": 6380, | |
| "sha256": "4d5e681b2d046f6993c94d5cb4f5dc39049062c5e38443f84425efbd9cec315e" | |
| }, | |
| { | |
| "path": "scripts/upload.py", | |
| "size": 3403, | |
| "sha256": "8b69d470fd3ba8f0ba7865eb4f533975089bef91961702240afb7c90b618e367" | |
| }, | |
| { | |
| "path": "tests/__init__.py", | |
| "size": 0, | |
| "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" | |
| }, | |
| { | |
| "path": "tests/test_device.py", | |
| "size": 1073, | |
| "sha256": "8c1cc2b9800232983120bb0ca3f7d2dd4b97229ea1a8e8b9cf37a1c58c0b7f3c" | |
| }, | |
| { | |
| "path": "tests/test_integrity.py", | |
| "size": 1686, | |
| "sha256": "b3979412c5c675a672f3a25eb7a3c4b9178301fd2c578e9aa541393ab7263af5" | |
| }, | |
| { | |
| "path": "tests/test_sdnq_eager.py", | |
| "size": 1288, | |
| "sha256": "e96e42800c0a3737ce24ddef680e4a6ab97d6d89f57653519e2eaa1c3a27f114" | |
| }, | |
| { | |
| "path": "tests/test_upload_auth.py", | |
| "size": 859, | |
| "sha256": "47a23beb1cea4e0934425e6881f5c925607b0e57fb914f89d0d4d7e5173a4bd3" | |
| }, | |
| { | |
| "path": "text_encoder/config.json", | |
| "size": 13320, | |
| "sha256": "08f9c2ccf4763fa08769ebf0d5ff07e023b7849ab7fdb6be7f7f68c1c638dd15" | |
| }, | |
| { | |
| "path": "text_encoder/generation_config.json", | |
| "size": 468, | |
| "sha256": "013502676c64afb419718353b70249641b19f89fc8cc316177730bb957ecf9ed" | |
| }, | |
| { | |
| "path": "text_encoder/model-00001-of-00002.safetensors", | |
| "size": 4986732760, | |
| "sha256": "eb7c22e8c9b5597dbcee68d83f2e44f2eca29e5c942bbd22b4ff1743f293d30d" | |
| }, | |
| { | |
| "path": "text_encoder/model-00002-of-00002.safetensors", | |
| "size": 2737783200, | |
| "sha256": "e586e01002cc266f9794fdb7cfb1ea290a603f45a704ce08058ec15461532b4e" | |
| }, | |
| { | |
| "path": "text_encoder/model.safetensors.index.json", | |
| "size": 167983, | |
| "sha256": "d5c92794b905d777d3279918111a75b412805908fc1fdc773e6e681bce633cb6" | |
| }, | |
| { | |
| "path": "text_encoder-quantization.json", | |
| "size": 26113, | |
| "sha256": "5bffd40a1d76a7a22b384d2f765d2ed73c851d2018f47ad013aa83577cc4c3d7" | |
| }, | |
| { | |
| "path": "transformer/config.json", | |
| "size": 5704, | |
| "sha256": "62a3251c7145ee0d5ae271a324126b2f8548f69785fa1e3f0f4073d63704dece" | |
| }, | |
| { | |
| "path": "transformer/diffusion_pytorch_model.safetensors", | |
| "size": 4365385520, | |
| "sha256": "5c83319d84f2f985b289b5c69f0f98fd0a7b68a0b60b25550c36c24c33f32f5a" | |
| }, | |
| { | |
| "path": "transformer-quantization.json", | |
| "size": 15583, | |
| "sha256": "ad92f7d2dba5e72b47bc93c0dd06407bfa22faadc47bb75724e955df1c39c654" | |
| }, | |
| { | |
| "path": "upstream-verification.json", | |
| "size": 1439, | |
| "sha256": "2878036fc34cd72df293bd8432518a7a9ffbf9fe98d9ba13e2e1ed3a32f878e5" | |
| }, | |
| { | |
| "path": "vae/config.json", | |
| "size": 2079, | |
| "sha256": "9785d527b278cb8b210e9f48a8028d92a4190968ce7e24c8fc85d9d1b82f6ba2" | |
| }, | |
| { | |
| "path": "vae/diffusion_pytorch_model.safetensors", | |
| "size": 1350989512, | |
| "sha256": "a07a1b7c4ee2966a1b3bdc37de9b4f983d56937e46619f709a80b6e490675417" | |
| } | |
| ] |