Browse Source

fix terminal not printing stdout on nvml warning (#1008)

Bumping system metrics to the latest version removes nvml warnings that
used to create a deadlock.

It should also improve system metrics performance by reducing the number
of opened files.
tags/v0.3.12-rc0
Haixuan Xavier Tao GitHub 8 months ago
parent
commit
f71f72f584
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
5 changed files with 189 additions and 181 deletions
  1. +1
    -1
      .github/workflows/node_hub_test.sh
  2. +171
    -163
      Cargo.lock
  3. +4
    -4
      libraries/extensions/telemetry/metrics/Cargo.toml
  4. +12
    -12
      node-hub/dora-qwen/pyproject.toml
  5. +1
    -1
      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")
ignored_folders=("dora-parler" "dora-magma")

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


+ 171
- 163
Cargo.lock
File diff suppressed because it is too large
View File


+ 4
- 4
libraries/extensions/telemetry/metrics/Cargo.toml View File

@@ -10,12 +10,12 @@ repository.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
opentelemetry = { version = "0.28.0", features = ["metrics"] }
opentelemetry-otlp = { version = "0.28.0", features = [
opentelemetry = { version = "0.29.1", features = ["metrics"] }
opentelemetry-otlp = { version = "0.29.0", features = [
"tonic",
"metrics",
"grpc-tonic",
] }
opentelemetry_sdk = { version = "0.28.0", features = ["rt-tokio", "metrics"] }
opentelemetry_sdk = { version = "0.29.0", features = ["rt-tokio", "metrics"] }
eyre = "0.6.12"
opentelemetry-system-metrics = { version = "0.3.1" }
opentelemetry-system-metrics = { version = "0.4.1" }

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

@@ -8,22 +8,22 @@ readme = "README.md"
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",
"accelerate>=1.3.0",
"transformers",
"mlx-lm>=0.21.1; sys_platform == 'darwin'",
"llama-cpp-python",
"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",
"accelerate>=1.3.0",
"transformers <= 4.52.1",
"mlx-lm>=0.21.1; sys_platform == 'darwin'",
"llama-cpp-python",
]

[tool.uv.sources]
llama-cpp-python = [
{ index = "llama_cpp_python_metal", marker = "sys_platform == 'darwin'" },
{ index = "llama_cpp_python_cu121", marker = "sys_platform == 'linux'" },
{ index = "llama_cpp_python_metal", marker = "sys_platform == 'darwin'" },
{ index = "llama_cpp_python_cu121", marker = "sys_platform == 'linux'" },
]

[dependency-groups]


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

@@ -15,7 +15,7 @@ dependencies = [
"opencv-python >= 4.1.1",
"modelscope >= 1.18.1",
"accelerate >= 1.3.0",
"transformers",
"transformers <= 4.52.1",
"bitsandbytes>=0.41.1",
]



Loading…
Cancel
Save