[PR #36] Add CPU only gradio demo #199

Open
opened 2026-10-26 21:14:01 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/deepseek-ai/Janus/pull/36
Author: @karminski
Created: 1/27/2025
Status: 🔄 Open

Base: main ← Head: main


📝 Commits (1)

📊 Changes

4 files changed (+617 additions, -70 deletions)

View changed files

📝 README.md (+12 -0)
📝 demo/app_janusflow.py (+91 -70)
➕ demo/app_janusflow_cpu_only.py (+258 -0)
➕ demo/app_januspro_cpu_only.py (+256 -0)

📄 Description

Due to the relatively small size of the model, I've added a CPU-only Gradio demo for users with only CPUs.

In my test environment with dual Intel Platinum 8269CY CPUs and 8 x 64GB DDR4 2933 memory, Multimodal Understanding can be completed within 120 seconds, and Text-to-Image Generation within 600 seconds.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/deepseek-ai/Janus/pull/36 **Author:** [@karminski](https://github.com/karminski) **Created:** 1/27/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`988a198`](https://github.com/deepseek-ai/Janus/commit/988a19825b4ede878502dba99897ec8e3d62c8d2) Add CPU only gradio demo ### 📊 Changes **4 files changed** (+617 additions, -70 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+12 -0) 📝 `demo/app_janusflow.py` (+91 -70) ➕ `demo/app_janusflow_cpu_only.py` (+258 -0) ➕ `demo/app_januspro_cpu_only.py` (+256 -0) </details> ### 📄 Description Due to the relatively small size of the model, I've added a CPU-only Gradio demo for users with only CPUs. In my test environment with dual Intel Platinum 8269CY CPUs and 8 x 64GB DDR4 2933 memory, Multimodal Understanding can be completed within 120 seconds, and Text-to-Image Generation within 600 seconds. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/Janus#199
No description provided.