[PR #78] [CLOSED] Feat: support demos running on MPS devices #211

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

📋 Pull Request Information

Original PR: https://github.com/deepseek-ai/Janus/pull/78
Author: @yhyang1
Created: 1/29/2025
Status: ❌ Closed

Base: main ← Head: inference


📝 Commits (4)

  • c1876ef fix: run demos on mps device
  • 17bc412 fix: image generating in demos
  • 877c778 fix: image generate in demo/app_janusflow.py
  • 1b69d7f fix: demo/fastapi_app.py with mps device.

📊 Changes

4 files changed (+178 additions, -107 deletions)

View changed files

📝 demo/app.py (+30 -14)
📝 demo/app_janusflow.py (+28 -19)
📝 demo/app_januspro.py (+36 -18)
📝 demo/fastapi_app.py (+84 -56)

📄 Description

No description provided


🔄 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/78 **Author:** [@yhyang1](https://github.com/yhyang1) **Created:** 1/29/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `inference` --- ### 📝 Commits (4) - [`c1876ef`](https://github.com/deepseek-ai/Janus/commit/c1876efe830f8a9c82067077c01ceee0cf7e905d) fix: run demos on mps device - [`17bc412`](https://github.com/deepseek-ai/Janus/commit/17bc41245abe84744619c282ca6b771f45569fdf) fix: image generating in demos - [`877c778`](https://github.com/deepseek-ai/Janus/commit/877c778c0e6f6d74910dd4778366be73521e9ba2) fix: image generate in demo/app_janusflow.py - [`1b69d7f`](https://github.com/deepseek-ai/Janus/commit/1b69d7f99bb2d1ff66d0fa0a78ef23d5974b6201) fix: demo/fastapi_app.py with mps device. ### 📊 Changes **4 files changed** (+178 additions, -107 deletions) <details> <summary>View changed files</summary> 📝 `demo/app.py` (+30 -14) 📝 `demo/app_janusflow.py` (+28 -19) 📝 `demo/app_januspro.py` (+36 -18) 📝 `demo/fastapi_app.py` (+84 -56) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-26 21:14:08 +00:00
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#211
No description provided.