Browse Source

Bump torch to 2.7 (#1015)

Fix vulnerability of torch by bumping it into 2.7 version
tags/v0.3.12-rc0
Haixuan Xavier Tao GitHub 7 months ago
parent
commit
aaceb35a7c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
13 changed files with 112 additions and 110 deletions
  1. +1
    -1
      .github/workflows/node_hub_test.sh
  2. +17
    -17
      README.md
  3. +4
    -2
      node-hub/dora-distil-whisper/pyproject.toml
  4. +14
    -13
      node-hub/dora-internvl/pyproject.toml
  5. +0
    -3
      node-hub/dora-llama-cpp-python/pyproject.toml
  6. +3
    -2
      node-hub/dora-magma/pyproject.toml
  7. +13
    -11
      node-hub/dora-opus/pyproject.toml
  8. +8
    -10
      node-hub/dora-parler/pyproject.toml
  9. +3
    -3
      node-hub/dora-qwen/pyproject.toml
  10. +15
    -15
      node-hub/dora-qwen2-5-vl/pyproject.toml
  11. +13
    -13
      node-hub/dora-qwenvl/pyproject.toml
  12. +18
    -17
      node-hub/dora-rdt-1b/pyproject.toml
  13. +3
    -3
      node-hub/dora-transformers/pyproject.toml

+ 1
- 1
.github/workflows/node_hub_test.sh View File

@@ -2,7 +2,7 @@
set -euo

# List of ignored modules
ignored_folders=("dora-parler" "dora-magma")
ignored_folders=("dora-parler" "dora-opus" "dora-internvl" "dora-magma")

# Skip test
skip_test_folders=("dora-internvl" "dora-parler" "dora-keyboard" "dora-microphone" "terminal-input" "dora-magma")


+ 17
- 17
README.md View File

@@ -62,28 +62,28 @@
<details open>
<summary><b>2025</b></summary>

\[04/05\] Add support for dora-cotracker to track any point on a frame, dora-rav1e AV1 encoding up to 12bit and dora-dav1d AV1 decoding,
- \[03/05\] Add support for dora async Python.
- \[03/05\] Add support for Microsoft Phi4, Microsoft Magma.
- \[03/05\] dora-rs has been accepted to [**GSoC 2025 🎉**](https://summerofcode.withgoogle.com/programs/2025/organizations/dora-rs-tb), with the following [**idea list**](https://github.com/dora-rs/dora/wiki/GSoC_2025).
- \[03/04\] Add support for Zenoh for distributed dataflow.
- \[03/04\] Add support for Meta SAM2, Kokoro(TTS), Improved Qwen2.5 Performance using `llama.cpp`.
- \[05/25\] Add support for dora-pytorch-kinematics for fk and ik, dora-mediapipe for pose estimation, dora-rustypot for rust serialport read/write, points2d and points3d visualization in rerun.
- \[04/25\] Add support for dora-cotracker to track any point on a frame, dora-rav1e AV1 encoding up to 12bit and dora-dav1d AV1 decoding,
- \[03/25\] Add support for dora async Python.
- \[03/25\] Add support for Microsoft Phi4, Microsoft Magma.
- \[03/25\] dora-rs has been accepted to [**GSoC 2025 🎉**](https://summerofcode.withgoogle.com/programs/2025/organizations/dora-rs-tb), with the following [**idea list**](https://github.com/dora-rs/dora/wiki/GSoC_2025).
- \[03/25\] Add support for Zenoh for distributed dataflow.
- \[03/25\] Add support for Meta SAM2, Kokoro(TTS), Improved Qwen2.5 Performance using `llama.cpp`.
- \[02/25\] Add support for Qwen2.5(LLM), Qwen2.5-VL(VLM), outetts(TTS)
</details>

## Support Matrix

| | dora-rs |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **APIs** | Python >= 3.7 including sync ⭐✅ <br> Rust ✅<br> C/C++ 🆗 <br>ROS2 >= Foxy 🆗 |
| **OS** | Linux: Arm 32 ⭐✅ Arm 64 ⭐✅ x64_86 ⭐✅ <br>MacOS: Arm 64 ⭐✅ x64_86 ✅<br>Windows: x64_86 🆗<br> Android: 🛠️ (Blocked by: https://github.com/elast0ny/shared_memory/issues/32) <br> IOS: 🛠️ |
| **Message Format** | Arrow ✅ <br> Standard Specification 🛠️ |
| **Local Communication** | Shared Memory ✅ <br> [Cuda IPC](https://arrow.apache.org/docs/python/api/cuda.html) 📐 |
| **Remote Communication** | [Zenoh](https://zenoh.io/) 📐 |
| **Metrics, Tracing, and Logging** | Opentelemetry 📐 |
| **Configuration** | YAML ✅ |
| **Package Manager** | [pip](https://pypi.org/): Python Node ✅ Rust Node ✅ C/C++ Node 🛠️ <br>[cargo](https://crates.io/): Rust Node ✅ |
| | dora-rs |
| --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **APIs** | Python >= 3.7 including sync ⭐✅ <br> Rust ✅<br> C/C++ 🆗 <br>ROS2 >= Foxy 🆗 |
| **OS** | Linux: Arm 32 ⭐✅ Arm 64 ⭐✅ x64_86 ⭐✅ <br>MacOS: Arm 64 ⭐✅ x64_86 ✅<br>Windows: x64_86 🆗 <br>WSL: x64_86 🆗 <br> Android: 🛠️ (Blocked by: https://github.com/elast0ny/shared_memory/issues/32) <br> IOS: 🛠️ |
| **Message Format** | Arrow ✅ <br> Standard Specification 🛠️ |
| **Local Communication** | Shared Memory ✅ <br> [Cuda IPC](https://arrow.apache.org/docs/python/api/cuda.html) 📐 |
| **Remote Communication** | [Zenoh](https://zenoh.io/) 📐 |
| **Metrics, Tracing, and Logging** | Opentelemetry 📐 |
| **Configuration** | YAML ✅ |
| **Package Manager** | [pip](https://pypi.org/): Python Node ✅ Rust Node ✅ C/C++ Node 🛠️ <br>[cargo](https://crates.io/): Rust Node ✅ |

> - ⭐ = Recommended
> - ✅ = First Class Support


+ 4
- 2
node-hub/dora-distil-whisper/pyproject.toml View File

@@ -8,7 +8,7 @@ authors = [
description = "Dora dora-distil-whisper"
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"

dependencies = [
"dora-rs >= 0.3.9",
@@ -16,7 +16,9 @@ dependencies = [
"pyarrow >= 5.0.0",
"transformers >= 4.0.0",
"accelerate >= 0.29.2",
"torch >= 2.2.0",
"torch >= 2.7.0",
"torchvision >= 0.22",
"torchaudio >= 2.7.0",
"modelscope >= 1.18.1",
"mlx-whisper >= 0.4.1; sys_platform == 'darwin'",
]


+ 14
- 13
node-hub/dora-internvl/pyproject.toml View File

@@ -2,8 +2,8 @@
name = "dora-internvl"
version = "0.3.11"
authors = [
{ name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" },
{ name = "Enzo Le Van", email = "dev@enzo-le-van.fr" },
{ name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" },
{ name = "Enzo Le Van", email = "dev@enzo-le-van.fr" },
]
description = "Dora Node for VLM"
license = { text = "MIT" }
@@ -12,17 +12,18 @@ requires-python = ">=3.8"

dependencies = [

"dora-rs >= 0.3.9",
"numpy < 2.0.0",
"torch >= 2.2.0",
"torchvision >= 0.17",
"transformers >= 4.11.3",
"pillow >= 10.0.0",
"bitsandbytes >= 0.41.0",
"einops >= 0.6.1",
"einops-exts >= 0.0.4",
"timm >= 0.9.12",
"sentencepiece >= 0.1.99",
"dora-rs >= 0.3.9",
"numpy < 2.0.0",
"torch >= 2.7.0",
"torchvision >= 0.22",
"torchaudio >= 2.7.0",
"transformers >= 4.11.3",
"pillow >= 10.0.0",
"bitsandbytes >= 0.41.0",
"einops >= 0.6.1",
"einops-exts >= 0.0.4",
"timm >= 0.9.12",
"sentencepiece >= 0.1.99",
]

[dependency-groups]


+ 0
- 3
node-hub/dora-llama-cpp-python/pyproject.toml View File

@@ -9,9 +9,6 @@ requires-python = ">=3.9"

dependencies = [
"dora-rs >= 0.3.9",
"torch == 2.4.0",
"torchvision >= 0.19",
"torchaudio >= 2.1.0",
"opencv-python >= 4.1.1",
"modelscope >= 1.18.1",
"huggingface-hub>=0.29.0",


+ 3
- 2
node-hub/dora-magma/pyproject.toml View File

@@ -13,8 +13,9 @@ authors = [{ name = "Munish Mummadi", email = "moneymindedmunish1@gmail.com" }]
dependencies = [
"dora-rs >= 0.3.9",
"numpy < 2",
"torch >= 2.4.0",
"torchvision >= 0.19",
"torch >= 2.7.0",
"torchvision >= 0.22",
"torchaudio >= 2.7.0",
"transformers>=4.45",
"opencv-python >= 4.1.1",
"accelerate>=1.5.1",


+ 13
- 11
node-hub/dora-opus/pyproject.toml View File

@@ -3,23 +3,25 @@ name = "dora-opus"
version = "0.3.11"
description = "Dora Node for Text translating using Opus"
authors = [
{ name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" },
{ name = "Enzo Le Van", email = "dev@enzo-le-van.fr" },
{ name = "Félix Huang", email = "felix.huang.net@gmail.com" },
{ name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" },
{ name = "Enzo Le Van", email = "dev@enzo-le-van.fr" },
{ name = "Félix Huang", email = "felix.huang.net@gmail.com" },
]

license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"

dependencies = [
"dora-rs >= 0.3.9",
"numpy < 2.0.0",
"transformers >= 4.45",
"modelscope >= 1.18.1",
"sentencepiece >= 0.1.99",
"torch >= 2.2.0",
"sacremoses>=0.1.1",
"dora-rs >= 0.3.9",
"numpy < 2.0.0",
"transformers >= 4.45",
"modelscope >= 1.18.1",
"sentencepiece >= 0.1.99",
"torch >= 2.7.0",
"torchvision >= 0.22",
"torchaudio >= 2.7.0",
"sacremoses>=0.1.1",
]

[dependency-groups]


+ 8
- 10
node-hub/dora-parler/pyproject.toml View File

@@ -2,8 +2,8 @@
name = "dora-parler"
version = "0.3.11"
authors = [
{ name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" },
{ name = "Enzo Le Van", email = "dev@enzo-le-van.fr" },
{ name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" },
{ name = "Enzo Le Van", email = "dev@enzo-le-van.fr" },
]
description = "Dora Node for Text to speech with dora Parler-TTS"
license = { text = "MIT" }
@@ -11,14 +11,12 @@ readme = "README.md"
requires-python = ">=3.8"

dependencies = [
"dora-rs >= 0.3.9",
"numpy < 2.0.0",
"torch >= 2.2.0",
"torchaudio >= 2.2.2",
"sentencepiece >= 0.1.99",
"pyaudio >= 0.2.14",
"modelscope >= 1.18.1",
"transformers >=4.48.0,<=4.48.0",
"dora-rs >= 0.3.9",
"numpy < 2.0.0",
"sentencepiece >= 0.1.99",
"pyaudio >= 0.2.14",
"modelscope >= 1.18.1",
"transformers >=4.48.0,<=4.48.0",
]

[tool.uv.sources]


+ 3
- 3
node-hub/dora-qwen/pyproject.toml View File

@@ -9,9 +9,9 @@ requires-python = ">=3.9"

dependencies = [
"dora-rs >= 0.3.9",
"torch == 2.4.0",
"torchvision >= 0.19",
"torchaudio >= 2.1.0",
"torch >= 2.7.0",
"torchvision >= 0.22",
"torchaudio >= 2.7.0",
"opencv-python >= 4.1.1",
"modelscope >= 1.18.1",
"accelerate>=1.3.0",


+ 15
- 15
node-hub/dora-qwen2-5-vl/pyproject.toml View File

@@ -2,8 +2,8 @@
name = "dora-qwen2-5-vl"
version = "0.3.11"
authors = [
{ name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" },
{ name = "Enzo Le Van", email = "dev@enzo-le-van.fr" },
{ name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" },
{ name = "Enzo Le Van", email = "dev@enzo-le-van.fr" },
]
description = "Dora Node for VLM"
license = { text = "MIT" }
@@ -11,19 +11,19 @@ readme = "README.md"
requires-python = ">=3.9"

dependencies = [
"dora-rs >= 0.3.9",
"numpy < 2.0.0",
"torch == 2.4.0",
"torchvision >= 0.19",
"torchaudio >= 2.1.0",
"qwen-vl-utils >= 0.0.5",
"opencv-python >= 4.1.1",
"modelscope >= 1.18.1",
"peft == 0.13.2",
"accelerate>=1.3.0",
"transformers",
"setuptools>=65.0.0",
# "flash-attn>=2.7.1; sys_platform != 'darwin'",
"dora-rs >= 0.3.9",
"numpy < 2.0.0",
"torch >= 2.7.0",
"torchvision >= 0.22",
"torchaudio >= 2.7.0",
"qwen-vl-utils >= 0.0.5",
"opencv-python >= 4.1.1",
"modelscope >= 1.18.1",
"peft == 0.13.2",
"accelerate>=1.3.0",
"transformers",
"setuptools>=65.0.0",
# "flash-attn>=2.7.1; sys_platform != 'darwin'",
]

## Currently flash_attn is not supported as a pip install within uv.


+ 13
- 13
node-hub/dora-qwenvl/pyproject.toml View File

@@ -2,8 +2,8 @@
name = "dora-qwenvl"
version = "0.3.11"
authors = [
{ name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" },
{ name = "Enzo Le Van", email = "dev@enzo-le-van.fr" },
{ name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" },
{ name = "Enzo Le Van", email = "dev@enzo-le-van.fr" },
]
description = "Dora Node for VLM"
license = { text = "MIT" }
@@ -11,17 +11,17 @@ readme = "README.md"
requires-python = ">=3.9"

dependencies = [
"dora-rs >= 0.3.9",
"numpy < 2.0.0",
"torch >= 2.4.0",
"torchvision >= 0.19",
"torchaudio >= 2.1.0",
"qwen-vl-utils >= 0.0.5",
"opencv-python >= 4.1.1",
"modelscope >= 1.18.1",
"peft == 0.13.2",
"accelerate>=1.3.0",
"transformers",
"dora-rs >= 0.3.9",
"numpy < 2.0.0",
"torch >= 2.7.0",
"torchvision >= 0.22",
"torchaudio >= 2.7.0",
"qwen-vl-utils >= 0.0.5",
"opencv-python >= 4.1.1",
"modelscope >= 1.18.1",
"peft == 0.13.2",
"accelerate>=1.3.0",
"transformers",
]

# flash_attn = "^2.6.1" # Install using: pip install -U flash-attn --no-build-isolation


+ 18
- 17
node-hub/dora-rdt-1b/pyproject.toml View File

@@ -8,23 +8,24 @@ readme = "README.md"
requires-python = ">=3.9"

dependencies = [
"dora-rs >= 0.3.9",
"numpy > 1.24.4",
"torch >= 2.4.0",
"torchvision >= 0.19",
"transformers >= 4.45",
"qwen-vl-utils >= 0.0.2",
"accelerate >= 0.33",
"opencv-python >= 4.1.1",
"modelscope >= 1.18.1",
"packaging == 24.0",
"wandb == 0.17.0",
"diffusers == 0.27.2",
"timm == 1.0.3",
"sentencepiece == 0.2.0",
"h5py == 3.11.0",
"imgaug == 0.4.0",
"huggingface_hub == 0.23.5",
"dora-rs >= 0.3.9",
"numpy > 1.24.4",
"torch >= 2.7.0",
"torchvision >= 0.22",
"torchaudio >= 2.7.0",
"transformers >= 4.45",
"qwen-vl-utils >= 0.0.2",
"accelerate >= 0.33",
"opencv-python >= 4.1.1",
"modelscope >= 1.18.1",
"packaging == 24.0",
"wandb == 0.17.0",
"diffusers == 0.27.2",
"timm == 1.0.3",
"sentencepiece == 0.2.0",
"h5py == 3.11.0",
"imgaug == 0.4.0",
"huggingface_hub == 0.23.5",
]

# flash_attn = "^2.6.1" # Install using: pip install -U flash-attn --no-build-isolation


+ 3
- 3
node-hub/dora-transformers/pyproject.toml View File

@@ -9,9 +9,9 @@ requires-python = ">=3.9"

dependencies = [
"dora-rs >= 0.3.9",
"torch == 2.4.0",
"torchvision >= 0.19",
"torchaudio >= 2.1.0",
"torch >= 2.7.0",
"torchvision >= 0.22",
"torchaudio >= 2.7.0",
"opencv-python >= 4.1.1",
"modelscope >= 1.18.1",
"accelerate >= 1.3.0",


Loading…
Cancel
Save