[PR #21] [MERGED] feat: automatically patch collections for >python 3.10 support #69

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

📋 Pull Request Information

Original PR: https://github.com/deepseek-ai/DeepSeek-VL/pull/21
Author: @Fodark
Created: 3/13/2024
Status: ✅ Merged
Merged: 3/13/2024
Merged by: @Benjamin-eecs

Base: main ← Head: fix-collections


📝 Commits (3)

  • c99e9f1 automatically detect the Python version, if above 3.10 patch collections to use collections.abc
  • d06f85c Merge remote-tracking branch 'upstream/main' into fix-collections
  • 699a77b chore: make format

📊 Changes

5 files changed (+28 additions, -9 deletions)

View changed files

📝 cli_chat.py (+6 -2)
📝 deepseek_vl/__init__.py (+13 -0)
📝 deepseek_vl/models/siglip_vit.py (+3 -3)
📝 deepseek_vl/serve/inference.py (+5 -3)
📝 pyproject.toml (+1 -1)

📄 Description

When loading deepseek_vl, patch collections to use collections.abc if the detected Python version is greater than 3.10.


🔄 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/DeepSeek-VL/pull/21 **Author:** [@Fodark](https://github.com/Fodark) **Created:** 3/13/2024 **Status:** ✅ Merged **Merged:** 3/13/2024 **Merged by:** [@Benjamin-eecs](https://github.com/Benjamin-eecs) **Base:** `main` ← **Head:** `fix-collections` --- ### 📝 Commits (3) - [`c99e9f1`](https://github.com/deepseek-ai/DeepSeek-VL/commit/c99e9f1184cb3eab824e5dfd030007767e0fd492) automatically detect the Python version, if above 3.10 patch collections to use collections.abc - [`d06f85c`](https://github.com/deepseek-ai/DeepSeek-VL/commit/d06f85c7f3a89f1f183241e1bbde09f6693f4199) Merge remote-tracking branch 'upstream/main' into fix-collections - [`699a77b`](https://github.com/deepseek-ai/DeepSeek-VL/commit/699a77bf0362600acca22a122bb41d1d7812b983) chore: make format ### 📊 Changes **5 files changed** (+28 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `cli_chat.py` (+6 -2) 📝 `deepseek_vl/__init__.py` (+13 -0) 📝 `deepseek_vl/models/siglip_vit.py` (+3 -3) 📝 `deepseek_vl/serve/inference.py` (+5 -3) 📝 `pyproject.toml` (+1 -1) </details> ### 📄 Description When loading `deepseek_vl`, patch `collections` to use `collections.abc` if the detected Python version is greater than 3.10. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-26 21:09:20 +00:00
Sign in to join this conversation.
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/DeepSeek-VL#69
No description provided.