mirror of
https://github.com/deepseek-ai/Janus.git
synced 2026-11-05 00:57:18 +00:00
[PR #228] fix: Update PyTorch minimum version to 2.1.0 and improve package interface #228
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/Janus#228
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/Janus/pull/228
Author: @yurekami
Created: 12/25/2025
Status: 🔄 Open
Base:
main← Head:fix/pytorch-version-requirement📝 Commits (1)
1814452fix: Update PyTorch minimum version to 2.1.0 and improve init.py📊 Changes
3 files changed (+6 additions, -5 deletions)
View changed files
📝
janus/__init__.py(+4 -3)📝
pyproject.toml(+1 -1)📝
requirements.txt(+1 -1)📄 Description
Summary
__version__for version trackingRelated Issue
Fixes #220
Problem
The
requirements.txthadtorch==2.0.1pinned, but thetransformerslibrary requires PyTorch >= 2.1. This caused installation failures:Additionally,
janus/__init__.pyprinted a message unconditionally on import:This polluted stdout and could interfere with output parsing.
Changes
requirements.txtpyproject.tomljanus/__init__.py__version__ = "1.0.0"print()statement, keeping the compatibility patch with a commentTest plan
pip install .🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.