Skip to content

Commit 91bf9fb

Browse files
authored
Add files via upload
1 parent 22734e7 commit 91bf9fb

File tree

4 files changed

+36
-28
lines changed

4 files changed

+36
-28
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,19 @@ A custom ComfyUI node for MiniCPM vision-language models, supporting v4, v4.5, a
44

55
**🎉 Now supports MiniCPM-V-4.5! The latest model with enhanced capabilities.**
66

7-
- MiniCPM-V-4
8-
[![MiniCPM-V-4](example_workflows/MiniCPM-V-4.jpg)](https://github.com/1038lab/ComfyUI-MiniCPM/blob/main/example_workflows/MiniCPM-V-4.json)
9-
- MiniCPM-V-4 GGUF
10-
[![MiniCPM-V-4-GGUF](example_workflows/MiniCPM-V-4-GGUF.jpg)](https://github.com/1038lab/ComfyUI-MiniCPM/blob/main/example_workflows/MiniCPM-V-4-GGUF.json)
11-
- MiniCPM-V-4 Batch Images
12-
[![MiniCPM-V-4_batchImages](example_workflows/MiniCPM-V-4_batchImages.jpg)](https://github.com/1038lab/ComfyUI-MiniCPM/blob/main/example_workflows/MiniCPM-V-4_batchImages.json)
13-
- MiniCPM-V-4 video
14-
[![MiniCPM-V-4_video](example_workflows/MiniCPM-V-4_video.jpg)](https://github.com/1038lab/ComfyUI-MiniCPM/blob/main/example_workflows/MiniCPM-V-4_video.json)
15-
167
---
178
## News & Updates
18-
- **2025/08/27**: Update ComfyUI-MIniCPM to **v1.1.0** ( [update.md](https://github.com/1038lab/ComfyUI-MiniMPC/blob/main/update.md#v110-2025-08-27) )
19-
-Added support for **MiniCPM-V-4.5** models (Transformers)
9+
- **2025/08/27**: Update ComfyUI-MIniCPM to **v1.1.0** ( [update.md](update.md#v110-2025-08-27) )
10+
[![MiniCPM v4 VS v45](example_workflows/MiniCPM_v4VSv45.jpg)](example_workflows/MiniCPM_v4VSv45.json)
11+
- Added support for **MiniCPM-V-4.5** models (Transformers)
2012

2113
## Features
14+
- MiniCPM-V-4 GGUF
15+
[![MiniCPM-V-4-GGUF](example_workflows/MiniCPM-V-4-GGUF.jpg)](example_workflows/MiniCPM-V-4-GGUF.json)
16+
- MiniCPM-V-4 Batch Images
17+
[![MiniCPM-V-4_batchImages](example_workflows/MiniCPM-V-4_batchImages.jpg)](example_workflows/MiniCPM-V-4_batchImages.json)
18+
- MiniCPM-V-4 video
19+
[![MiniCPM-V-4_video](example_workflows/MiniCPM-V-4_video.jpg)](example_workflows/MiniCPM-V-4_video.json)
2220

2321
- Supports **MiniCPM-V-4.5 (Transformers)** and **MiniCPM-V-4.0 (GGUF)** models
2422
- **Latest MiniCPM-V-4.5** with enhanced capabilities via Transformers
@@ -44,12 +42,14 @@ git clone https://github.com/1038lab/comfyui-minicpm.git
4442
Install required dependencies:
4543

4644
```bash
47-
ComfyUI\python_embeded\python pip install -r ComfyUI/custom_nodes/comfyui-minicpm/requirements.txt
45+
cd ComfyUI/custom_nodes/comfyui-minicpm
46+
ComfyUI\python_embeded\python pip install -r requirements.txt
47+
ComfyUI\python_embeded\python llama_cpp_install.py
4848
```
4949

5050
> [!note]
5151
> `llama-cpp-python` CUDA Installation for ComfyUI Portable
52-
> - [llama_cpp_install.md](https://github.com/1038lab/ComfyUI-MiniCPM/blob/main/llama_cpp_install.md)
52+
> - [llama_cpp_install.md](llama_cpp_install/llama_cpp_install.md)
5353
---
5454

5555
## Supported Models

README_CN.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,21 @@
44

55
**🎉 现在支持 MiniCPM-V-4.5!最新的模型,拥有增强的能力。**
66

7-
- MiniCPM-V-4
8-
[![MiniCPM-V-4](example_workflows/MiniCPM-V-4.jpg)](https://github.com/1038lab/ComfyUI-MiniCPM/blob/main/example_workflows/MiniCPM-V-4.json)
9-
- MiniCPM-V-4 GGUF
10-
[![MiniCPM-V-4-GGUF](example_workflows/MiniCPM-V-4-GGUF.jpg)](https://github.com/1038lab/ComfyUI-MiniCPM/blob/main/example_workflows/MiniCPM-V-4-GGUF.json)
11-
- MiniCPM-V-4 Batch Images
12-
[![MiniCPM-V-4_batchImages](example_workflows/MiniCPM-V-4_batchImages.jpg)](https://github.com/1038lab/ComfyUI-MiniCPM/blob/main/example_workflows/MiniCPM-V-4_batchImages.json)
13-
- MiniCPM-V-4 video
14-
[![MiniCPM-V-4_video](example_workflows/MiniCPM-V-4_video.jpg)](https://github.com/1038lab/ComfyUI-MiniCPM/blob/main/example_workflows/MiniCPM-V-4_video.json)
15-
167
---
178
## 新闻与更新
189

1910
- **2025/08/27**:ComfyUI-MiniCPM 更新至 **v1.1.0**[更新日志](https://github.com/1038lab/ComfyUI-MiniMPC/blob/main/update.md#v110-2025-08-27)
20-
21-
- 新增对 **MiniCPM-V-4.5** 模型(Transformers)的支持
11+
[![MiniCPM v4 VS v45](example_workflows/MiniCPM_v4VSv45.jpg)](example_workflows/MiniCPM_v4VSv45.json)
12+
- 新增对 **MiniCPM-V-4.5** 模型(Transformers)的支持
2213

2314

2415
## 功能特点
16+
- MiniCPM-V-4 GGUF
17+
[![MiniCPM-V-4-GGUF](example_workflows/MiniCPM-V-4-GGUF.jpg)](example_workflows/MiniCPM-V-4-GGUF.json)
18+
- MiniCPM-V-4 Batch Images
19+
[![MiniCPM-V-4_batchImages](example_workflows/MiniCPM-V-4_batchImages.jpg)](example_workflows/MiniCPM-V-4_batchImages.json)
20+
- MiniCPM-V-4 video
21+
[![MiniCPM-V-4_video](example_workflows/MiniCPM-V-4_video.jpg)](example_workflows/MiniCPM-V-4_video.json)
2522

2623
- 支持 **MiniCPM-V-4.5 (Transformers)****MiniCPM-V-4.0 (GGUF)** 模型
2724
- **最新 MiniCPM-V-4.5** 通过 Transformers 提供增强的能力
@@ -43,13 +40,17 @@
4340
cd ComfyUI/custom_nodes
4441
git clone https://github.com/1038lab/comfyui-minicpm.git
4542
```
46-
4743
安装所需依赖:
4844

4945
```bash
50-
pip install -r ComfyUI/custom_nodes/comfyui-minicpm/requirements.txt
46+
cd ComfyUI/custom_nodes/comfyui-minicpm
47+
ComfyUI\python_embeded\python pip install -r requirements.txt
48+
ComfyUI\python_embeded\python llama_cpp_install.py
5149
```
5250

51+
> [!note]
52+
> `llama-cpp-python` CUDA Installation for ComfyUI Portable
53+
> - [llama_cpp_install_zh.md](llama_cpp_install/llama_cpp_install_zh.md)
5354
---
5455

5556
## 支持的模型

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "ComfyUI-MiniCPM"
3-
description = "A ComfyUI custom node for MiniCPM vision-language models, enabling high-quality image captioning and analysis."
4-
version = "1.0.0"
3+
description = "A custom ComfyUI node for MiniCPM vision-language models, supporting v4, v4.5, and v4 GGUF formats, enabling high-quality image captioning and visual analysis."
4+
version = "1.1.0"
55
license = {file = "LICENSE"}
66

77
dependencies = [
@@ -10,6 +10,7 @@ dependencies = [
1010
"torchvision>=0.15.0",
1111
"Pillow>=9.0.0",
1212
"huggingface-hub>=0.16.0",
13+
"hf_xet>=0.16.0",
1314
"numpy>=1.21.0",
1415
"accelerate>=0.20.0"
1516
]

update.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## V1.1.0 (2025-08-27)
44
### New Features
5+
[![MiniCPM v4 VS v45](example_workflows/MiniCPM_v4VSv45.jpg)](example_workflows/MiniCPM_v4VSv45.json)
56
- **MiniCPM-V-4.5 Model Support**: Added comprehensive support for the latest MiniCPM-V-4.5 models
67
- New Transformers model: `MiniCPM-V-4.5` (openbmb/MiniCPM-V-4_5) - Latest full precision version
78
- New quantized model: `MiniCPM-V-4.5-int4` (openbmb/MiniCPM-V-4_5-int4) - Memory-efficient 4-bit version
@@ -21,19 +22,24 @@
2122
## V1.0.0 (2025-08-25)
2223
### Initial Release
2324
- **MiniCPM-V-4 Transformers Support**: Full integration with Hugging Face transformers models
25+
[![MiniCPM-V-4](example_workflows/MiniCPM-V-4.jpg)](example_workflows/MiniCPM-V-4.json)
2426
- MiniCPM-V-4 full precision model
2527
- MiniCPM-V-4-int4 quantized model
2628
- **MiniCPM-V-4 GGUF Support**: Comprehensive GGUF model support via llama-cpp-python
29+
[![MiniCPM-V-4-GGUF](example_workflows/MiniCPM-V-4-GGUF.jpg)](example_workflows/MiniCPM-V-4-GGUF.json)
2730
- Multiple quantization levels (Q4_0 to Q8_0)
2831
- Optimized memory usage and performance
2932
- **Dual Node Architecture**:
3033
- Basic nodes for simple usage
3134
- Advanced nodes with full parameter control
3235
- **Image & Video Processing**: Support for both image and video input processing
36+
[![MiniCPM-V-4_video](example_workflows/MiniCPM-V-4_video.jpg)](example_workflows/MiniCPM-V-4_video.json)
3337
- **Memory Management**: Three modes - Keep in Memory, Clear After Run, Global Cache
3438
- **Caption Types**: 14 different preset prompt types for various use cases
3539
- **Legacy Compatibility**: Backward compatible node for existing workflows
3640

41+
[![MiniCPM-V-4_batchImages](example_workflows/MiniCPM-V-4_batchImages.jpg)](example_workflows/MiniCPM-V-4_batchImages.json)
42+
3743
### Core Features
3844
- **Multi-Modal Processing**: Image and video content understanding
3945
- **Flexible Parameters**: Customizable temperature, top-p, top-k, repetition penalty

0 commit comments

Comments
 (0)