In the meanwhile update your comfy and you can test the model with less struggle you might have installing this node ;) You need their official HiDream Model and the four text encoders. Sample Workflow is in the Workflow folder
We have now a bunch of forks for this, and with SanDiegoDude/ComfyUI-HiDream-Sampler actively maintaining, feel free to check out his awsome work, which might solve some issues.
I will have a bit of time over easter to work on the node, but it will be updated at my pace and capabilities.
If anyone would like to contribute, I'd LOVE you to reach out or do PRs, as I am not able to solve all the issues alone (Used to be an illustrator not a dev by trade :D )
What is on my list and where you could support me:

A custom ComfyUI node for generating images using the HiDream AI model.
full, dev, and fast model types.Clone this repository into your ComfyUI/custom_nodes/ directory:
git clone https://github.com/lum3on/comfyui_HiDream-Sampler ComfyUI/custom_nodes/comfyui_HiDream-Sampler
Install requirements
pip install -r requirements.txt
or for the portable version:
.\python_embeded\python.exe -m pip install -r .\ComfyUI\custom_nodes\comfyui_HiDream-Sampler\requirements.txt
Restart ComfyUI.
Steps to install SageAttention 1:
.\python_embeded\python.exe -s -m pip install (Your downloaded whl package)
linux:
python3 -m pip install triton
.\python_embeded\python.exe -s -m pip install sageattention==1.0.6
PyTorch SDPA is automantically installed when you install PyTorch 2 (ComfyUI Requirement). However, if your torch version is lower than 2. Use this command to update to the latest version.
python3 -m pip install torch torchvision torchaudio
.\python_embeded\python.exe -s -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
Here's some weight that you need to download (Which will be automantically downloaded when running workflow). Please use huggingface-cli to download.
| Model | Huggingface repo |
|---|---|
| 4-bit Llama text encoder | hugging-quants/Meta-Llama-3.1-8B-Instruct-GPTQ-INT4 |
| Uncensored 4-bit Llama text encoder | John6666/Llama-3.1-8B-Lexi-Uncensored-V2-nf4 |
| Original Llama text encoder | nvidia/Llama-3.1-Nemotron-Nano-8B-v1 |
azaneko for the quantized model!)| Model | Huggingface repo |
|---|---|
| 4-bit HiDream Full | azaneko/HiDream-I1-Full-nf4 |
| 4-bit HiDream Dev | azaneko/HiDream-I1-Dev-nf4 |
| 4-bit HiDream Fast | azaneko/HiDream-I1-Fast-nf4 |
| Model | Huggingface repo |
|---|---|
| HiDream Full | HiDream-ai/HiDream-I1-Full |
| HiDream Dev | HiDream-ai/HiDream-I1-Dev |
| HiDream Fast | HiDream-ai/HiDream-I1-Fast |
You can download these weights by this command.
huggingface-cli download (Huggingface repo)
For some region that cannot connect to huggingface. Use this command for mirror.
Windows CMD
set HF_ENDPOINT=https://hf-mirror.com
Windows Powershell
$env:HF_ENDPOINT = "https://hf-mirror.com"
Linux
export HF_ENDPOINT=https://hf-mirror.com
Merged with SanDiegoDude/ComfyUI-HiDream-Sampler who implemented a cleaner version for my originial NF4 / fp8 support.
Build upon the original [HiDream-I1]https://github.com/HiDream-ai/HiDream-I1
Python
100.0%
In the meanwhile update your comfy and you can test the model with less struggle you might have installing this node ;) You need their official HiDream Model and the four text encoders. Sample Workflow is in the Workflow folder
We have now a bunch of forks for this, and with SanDiegoDude/ComfyUI-HiDream-Sampler actively maintaining, feel free to check out his awsome work, which might solve some issues.
I will have a bit of time over easter to work on the node, but it will be updated at my pace and capabilities.
If anyone would like to contribute, I'd LOVE you to reach out or do PRs, as I am not able to solve all the issues alone (Used to be an illustrator not a dev by trade :D )
What is on my list and where you could support me:

A custom ComfyUI node for generating images using the HiDream AI model.
full, dev, and fast model types.Clone this repository into your ComfyUI/custom_nodes/ directory:
git clone https://github.com/lum3on/comfyui_HiDream-Sampler ComfyUI/custom_nodes/comfyui_HiDream-Sampler
Install requirements
pip install -r requirements.txt
or for the portable version:
.\python_embeded\python.exe -m pip install -r .\ComfyUI\custom_nodes\comfyui_HiDream-Sampler\requirements.txt
Restart ComfyUI.
Steps to install SageAttention 1:
.\python_embeded\python.exe -s -m pip install (Your downloaded whl package)
linux:
python3 -m pip install triton
.\python_embeded\python.exe -s -m pip install sageattention==1.0.6
PyTorch SDPA is automantically installed when you install PyTorch 2 (ComfyUI Requirement). However, if your torch version is lower than 2. Use this command to update to the latest version.
python3 -m pip install torch torchvision torchaudio
.\python_embeded\python.exe -s -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
Here's some weight that you need to download (Which will be automantically downloaded when running workflow). Please use huggingface-cli to download.
| Model | Huggingface repo |
|---|---|
| 4-bit Llama text encoder | hugging-quants/Meta-Llama-3.1-8B-Instruct-GPTQ-INT4 |
| Uncensored 4-bit Llama text encoder | John6666/Llama-3.1-8B-Lexi-Uncensored-V2-nf4 |
| Original Llama text encoder | nvidia/Llama-3.1-Nemotron-Nano-8B-v1 |
azaneko for the quantized model!)| Model | Huggingface repo |
|---|---|
| 4-bit HiDream Full | azaneko/HiDream-I1-Full-nf4 |
| 4-bit HiDream Dev | azaneko/HiDream-I1-Dev-nf4 |
| 4-bit HiDream Fast | azaneko/HiDream-I1-Fast-nf4 |
| Model | Huggingface repo |
|---|---|
| HiDream Full | HiDream-ai/HiDream-I1-Full |
| HiDream Dev | HiDream-ai/HiDream-I1-Dev |
| HiDream Fast | HiDream-ai/HiDream-I1-Fast |
You can download these weights by this command.
huggingface-cli download (Huggingface repo)
For some region that cannot connect to huggingface. Use this command for mirror.
Windows CMD
set HF_ENDPOINT=https://hf-mirror.com
Windows Powershell
$env:HF_ENDPOINT = "https://hf-mirror.com"
Linux
export HF_ENDPOINT=https://hf-mirror.com
Merged with SanDiegoDude/ComfyUI-HiDream-Sampler who implemented a cleaner version for my originial NF4 / fp8 support.
Build upon the original [HiDream-I1]https://github.com/HiDream-ai/HiDream-I1
Python
100.0%