Skip to main content

HiDream-I1 4Bit Quantized Model

This repository is a fork of HiDream-I1 quantized to 4 bits, allowing the full model to run in less than 16GB of VRAM.

The original repository can be found here.

HiDream-I1 is a new open-source image generative foundation model with 17B parameters that achieves state-of-the-art image generation quality within seconds.

HiDream-I1 Demo

image

Models

We offer both the full version and distilled models. The parameter size are the same, so they require the same amount of GPU memory to run. However, the distilled models are faster because of reduced number of inference steps.

Name Min VRAM Steps HuggingFace
HiDream-I1-Full 16 GB 50 🤗 Original / NF4
HiDream-I1-Dev 16 GB 28 🤗 Original / NF4
HiDream-I1-Fast 16 GB 16 🤗 Original / NF4

Hardware Requirements

  • GPU Architecture: NVIDIA >= Ampere (e.g. A100, H100, A40, RTX 3090, RTX 4090)
  • GPU RAM: >= 16 GB
  • CPU RAM: >= 16 GB

Quick Start

Simply run:

pip install hdi1 --no-build-isolation

Command Line Interface

Then you can run the module to generate images:

python -m hdi1 "A cat holding a sign that says 'hello world'"

# or you can specify the model
python -m hdi1 "A cat holding a sign that says 'hello world'" -m fast

Web Dashboard

We also provide a web dashboard for interactive image generation. You can start it by running:

python -m hdi1.web

Screenshot 2025-04-08 200120

License

The code in this repository and the HiDream-I1 models are licensed under MIT License.

Metadata

Release files for hdi1 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hdi1 1.0.4
File Size Uploaded Provenance Actions
hdi1-1.0.4.tar.gz 35.3 kB Without provenance Details for hdi1-1.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hdi1 1.0.4
File Interpreter ABI Platform Actions
hdi1-1.0.4-py3-none-any.whl Python 3 none any Details for hdi1-1.0.4-py3-none-any.whl

Total release size: 74.5 kB

Release files / hdi1-1.0.4.tar.gz

Download URL hdi1-1.0.4.tar.gz
Size 35.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bc5ed2e58f2a63f2e8873785a4b3d2b4bb1380a29c43d4a06cb45f4138a4aa54
BLAKE2b-256 checksum
How to use checksums
61eb4a087c99d16f679078445aa59dbe810e781ddd423253e3f8a8318a866dc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.5

Release files / hdi1-1.0.4-py3-none-any.whl

Download URL hdi1-1.0.4-py3-none-any.whl
Size 39.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2c14ac1988345b254f5a75147d60c54fa544ed70d4f2fe5522bd69c3d0ba818
BLAKE2b-256 checksum
How to use checksums
2f1b24506935758c64eb5badd148a45734acd0625e5e81d3388cd52838136229
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.5

Security for hdi1 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page