mirror of
https://github.com/deepseek-ai/DeepSeek-VL2.git
synced 2026-11-05 01:07:23 +00:00
[PR #149] fix: remove print pollution, add __version__, and relax version constraints #149
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/DeepSeek-VL2#149
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/DeepSeek-VL2/pull/149
Author: @yurekami
Created: 12/25/2025
Status: 🔄 Open
Base:
main← Head:fix-print-pollution-and-versions📝 Commits (1)
32db1b2fix: remove print pollution, add version, and relax version constraints📊 Changes
3 files changed (+8 additions, -7 deletions)
View changed files
📝
deepseek_vl2/__init__.py(+4 -3)📝
pyproject.toml(+2 -2)📝
requirements.txt(+2 -2)📄 Description
Summary
__init__.py__version__ = "1.0.0"to package__init__.pyfor better package introspectiontorchandtransformersversion constraints from==to>=in bothrequirements.txtandpyproject.tomlProblem
The print statement
print("Python version is above 3.10, patching the collections module.")was polluting stdout on every import, which can interfere with logging and scripting.Pinned exact versions (
torch==2.0.1,transformers==4.38.2) cause unnecessary installation conflicts when users have newer compatible versions already installed.Test plan
python3 -m py_compile🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.