Text-to-Image
Diffusers
English
Chinese
fp8
int8
unsloth
quantized
qwen
image-generation
image-editing
rgba
Instructions to use unsloth/Qwen-Image-2.1-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use unsloth/Qwen-Image-2.1-FP8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("unsloth/Qwen-Image-2.1-FP8", dtype=torch.bfloat16, device_map="cuda") prompt = "Photorealistic photograph of an old movie theater with faded red seats, peeling walls, and a torn screen." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
- Unsloth Desktop
model_index.json
#2
by amaranus - opened
The model_index.json file is not saved in the unsloth/Qwen-Image-2.1-FP8 repo. So "Entry Not Found for url: https://huggingface.co/unsloth/Qwen-Image-2.1-FP8/resolve/9e5206424833a00b340bf5396b37486d1306e61f/model_index.json." error occurs. Please add this file to the repo.
I have the same error
{"timestamp": "2026-09-24T18:23:44.753924Z", "level": "warning", "event": "diffusion.pipeline_manifest_failed: unsloth/Qwen-Image-2.1-FP8 has no model_index.json"}
{"timestamp": "2026-09-24T18:23:44.864077Z", "level": "info", "event": "request_completed", "method": "PUT", "path": "/api/settings/generation-presets/image", "status_code": 200, "process_time_ms": 8.22}
{"timestamp": "2026-09-24T18:23:44.976658Z", "level": "info", "event": "request_completed", "method": "POST", "path": "/api/inference/images/download-plan", "status_code": 200, "process_time_ms": 526.45}
{"timestamp": "2026-09-24T18:23:44.985494Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/models/list", "status_code": 200, "process_time_ms": 3.29}
{"timestamp": "2026-09-24T18:23:45.229103Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/status", "status_code": 200, "process_time_ms": 246.64}
{"timestamp": "2026-09-24T18:23:45.466871Z", "level": "info", "event": "diffusion engine: diffusers (non-GGUF load (pipeline) requires diffusers)"}
{"timestamp": "2026-09-24T18:23:45.468505Z", "level": "info", "event": "request_completed", "method": "POST", "path": "/api/inference/images/load", "status_code": 200, "process_time_ms": 485.55}
{"timestamp": "2026-09-24T18:23:45.468828Z", "level": "info", "event": "diffusion.denoiser_prequant: an artifact-sized plan for int8 still offloads on this card, and offload moves the denoiser via Module.to(), so the released shards are kept"}
{"timestamp": "2026-09-24T18:23:45.469076Z", "level": "info", "event": "diffusion.denoiser_prequant: an artifact-sized plan for fp8 still offloads on this card, and offload moves the denoiser via Module.to(), so the released shards are kept"}
{"timestamp": "2026-09-24T18:23:45.476648Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/models/list", "status_code": 200, "process_time_ms": 2.68}
{"timestamp": "2026-09-24T18:23:45.477510Z", "level": "info", "event": "diffusion_load_progress", "phase": "downloading", "percent": 0}
{"timestamp": "2026-09-24T18:23:45.962420Z", "level": "warning", "event": "diffusion.pipeline_manifest_failed: unsloth/Qwen-Image-2.1-FP8 has no model_index.json"}
{"timestamp": "2026-09-24T18:23:46.564802Z", "level": "info", "event": "diffusion.text_encoder_quant: 'fp8' selected automatically for qwen-image-2.1 (unset request)"}
{"timestamp": "2026-09-24T18:23:46.610579Z", "level": "info", "event": "diffusion_load_progress", "phase": "finalizing", "percent": 100}
{"timestamp": "2026-09-24T18:23:47.142700Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/monitor", "status_code": 200, "process_time_ms": 2.41}
{"timestamp": "2026-09-24T18:23:47.635122Z", "level": "error", "event": "diffusion.load_failed: 404 Client Error. (Request ID: Root=1-6ab56ab3-0b7af56b5959604c180741fe;fa8028e6-2e8c-4764-8fa4-794cebb490d1)\n\nEntry Not Found for url: https://huggingface.co/unsloth/Qwen-Image-2.1-FP8/resolve/d67caebb412f98c968f9be41b3a8cea80b3e039a/model_index.json.", "exception": "Traceback (most recent call last):\n File \"/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_http.py\", line 836, in hf_raise_for_status\n response.raise_for_status()\n ~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/httpx/_models.py\", line 829, in raise_for_status\n raise HTTPStatusError(message, request=request, response=self)\nhttpx.HTTPStatusError: Client error '404 Not Found' for url 'https://huggingface.co/unsloth/Qwen-Image-2.1-FP8/resolve/d67caebb412f98c968f9be41b3a8cea80b3e039a/model_index.json'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/var/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/core/inference/diffusion.py\", line 2740, in _run_load\n self.load_pipeline(**kwargs)\n ~~~~~~~~~~~~~~~~~~^^^^^^^^^^\n File \"/var/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/core/inference/diffusion.py\", line 1022, in wrapped\n return method(self, *args, **{**kwargs, \"_load_token\": token})\n File \"/var/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/core/inference/diffusion.py\", line 5166, in load_pipeline\n pipe = pipeline_cls.from_pretrained(\n _base_local_dir or fetch_base, **pipe_kwargs\n )\n File \"/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py\", line 91, in _inner_fn\n return fn(*args, **kwargs)\n File \"/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py\", line 871, in from_pretrained\n cached_folder = cls.download(\n pretrained_model_name_or_path,\n ...<13 lines>...\n **kwargs,\n )\n File \"/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py\", line 91, in _inner_fn\n return fn(*args, **kwargs)\n File \"/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py\", line 1626, in download\n config_file = hf_hub_download(\n pretrained_model_name,\n ...<5 lines>...\n token=token,\n )\n File \"/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py\", line 91, in _inner_fn\n return fn(*args, **kwargs)\n File \"/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_http.py\", line 266, in _inner\n return fn(*args, **kwargs)\n File \"/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/file_download.py\", line 1043, in hf_hub_download\n return _hf_hub_download_to_cache_dir(\n # Destination\n ...<15 lines>...\n dry_run=dry_run,\n )\n File \"/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/file_download.py\", line 1113, in _hf_hub_download_to_cache_dir\n (url_to_download, etag, commit_hash, expected_size, xet_file_data, head_call_error) = _get_metadata_or_catch_error(\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\n repo_id=repo_id,\n ^^^^^^^^^^^^^^^^\n ...<10 lines>...\n tree_cache_folder=storage_folder,\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n )\n ^\n File \"/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/file_download.py\", line 1758, in _get_metadata_or_catch_error\n metadata = get_hf_file_metadata(\n url=url,\n ...<4 lines>...\n retry_on_errors=retry_on_errors,\n )\n File \"/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py\", line 91, in _inner_fn\n return fn(*args, **kwargs)\n File \"/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/file_download.py\", line 1665, in get_hf_file_metadata\n response = _httpx_follow_hub_redirects_with_backoff(\n method=\"HEAD\", url=url, headers=hf_headers, timeout=timeout, retry_on_errors=retry_on_errors\n )\n File \"/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_http.py\", line 761, in _httpx_follow_hub_redirects_with_backoff\n hf_raise_for_status(response)\n ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^\n File \"/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_http.py\", line 856, in hf_raise_for_status\n raise _format(RemoteEntryNotFoundError, message, response, repo_type=repo_type, repo_id=repo_id) from e\nhuggingface_hub.errors.RemoteEntryNotFoundError: 404 Client Error. (Request ID: Root=1-6ab56ab3-0b7af56b5959604c180741fe;fa8028e6-2e8c-4764-8fa4-794cebb490d1)\n\nEntry Not Found for url: https://huggingface.co/unsloth/Qwen-Image-2.1-FP8/resolve/d67caebb412f98c968f9be41b3a8cea80b3e039a/model_index.json."}
| Traceback (most recent call last):
| File "/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 836, in hf_raise_for_status
| response.raise_for_status()
| ~~~~~~~~~~~~~~~~~~~~~~~~~^^
| File "/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status
| raise HTTPStatusError(message, request=request, response=self)
| httpx.HTTPStatusError: Client error '404 Not Found' for url 'https://huggingface.co/unsloth/Qwen-Image-2.1-FP8/resolve/d67caebb412f98c968f9be41b3a8cea80b3e039a/model_index.json'
| For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
|
| The above exception was the direct cause of the following exception:
|
| Traceback (most recent call last):
| File "/var/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/core/inference/diffusion.py", line 2740, in _run_load
| self.load_pipeline(**kwargs)
| ~~~~~~~~~~~~~~~~~~^^^^^^^^^^
| File "/var/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/core/inference/diffusion.py", line 1022, in wrapped
| return method(self, *args, **{**kwargs, "_load_token": token})
| File "/var/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/core/inference/diffusion.py", line 5166, in load_pipeline
| pipe = pipeline_cls.from_pretrained(
| _base_local_dir or fetch_base, **pipe_kwargs
| )
| File "/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 91, in _inner_fn
| return fn(*args, **kwargs)
| File "/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 871, in from_pretrained
| cached_folder = cls.download(
| pretrained_model_name_or_path,
| ...<13 lines>...
| **kwargs,
| )
| File "/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 91, in _inner_fn
| return fn(*args, **kwargs)
| File "/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1626, in download
| config_file = hf_hub_download(
| pretrained_model_name,
| ...<5 lines>...
| token=token,
| )
| File "/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 91, in _inner_fn
| return fn(*args, **kwargs)
| File "/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 266, in _inner
| return fn(*args, **kwargs)
| File "/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1043, in hf_hub_download
| return _hf_hub_download_to_cache_dir(
| # Destination
| ...<15 lines>...
| dry_run=dry_run,
| )
| File "/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1113, in _hf_hub_download_to_cache_dir
| (url_to_download, etag, commit_hash, expected_size, xet_file_data, head_call_error) = _get_metadata_or_catch_error(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
| repo_id=repo_id,
| ^^^^^^^^^^^^^^^^
| ...<10 lines>...
| tree_cache_folder=storage_folder,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| )
| ^
| File "/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1758, in _get_metadata_or_catch_error
| metadata = get_hf_file_metadata(
| url=url,
| ...<4 lines>...
| retry_on_errors=retry_on_errors,
| )
| File "/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 91, in _inner_fn
| return fn(*args, **kwargs)
| File "/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1665, in get_hf_file_metadata
| response = _httpx_follow_hub_redirects_with_backoff(
| method="HEAD", url=url, headers=hf_headers, timeout=timeout, retry_on_errors=retry_on_errors
| )
| File "/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 761, in _httpx_follow_hub_redirects_with_backoff
| hf_raise_for_status(response)
| ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
| File "/home/jj/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 856, in hf_raise_for_status
| raise _format(RemoteEntryNotFoundError, message, response, repo_type=repo_type, repo_id=repo_id) from e
| huggingface_hub.errors.RemoteEntryNotFoundError: 404 Client Error. (Request ID: Root=1-6ab56ab3-0b7af56b5959604c180741fe;fa8028e6-2e8c-4764-8fa4-794cebb490d1)
|
| Entry Not Found for url: https://huggingface.co/unsloth/Qwen-Image-2.1-FP8/resolve/d67caebb412f98c968f9be41b3a8cea80b3e039a/model_index.json.
I also have this issue
Forgot to reply, but it should now be fixed. Please update to the latest version of Unsloth apologies! 🙏
CC: @amaranus @exiom @inikishev @Lav-Panchal @inikishev @Duhamb