Skip to content

feat(gpu): add Ascend NPU telemetry backend - #97

Merged
reiase merged 2 commits into
DeepLink-org:masterfrom
VincentCheungKokomo:Ascend_NPU_probing_support
Aug 20, 2026
Merged

feat(gpu): add Ascend NPU telemetry backend#97
reiase merged 2 commits into
DeepLink-org:masterfrom
VincentCheungKokomo:Ascend_NPU_probing_support

Conversation

@VincentCheungKokomo

Copy link
Copy Markdown
Contributor

Summary

  • add an Ascend NPU backend with DCMI-first telemetry and bounded npu-smi fallback
  • expose NPU utilization, memory, bandwidth, temperature, and power through the existing GPU collector while respecting backend filters
  • avoid native runtime activation in helper processes and document the new NPU controls

Test plan

  • cargo test -p probing-gpu --features cuda
  • cargo test -p probing-gpu --no-default-features
  • cargo clippy -p probing-gpu --all-targets --features cuda -- -D warnings
  • PROBING=0 .venv/bin/python -m pytest tests/regression/core/test_init.py -q
  • validate DCMI ABI and telemetry values on Ascend hardware

Made with Cursor

Add DCMI and npu-smi collection with bounded fallback behavior so Ascend devices integrate with existing GPU diagnostics without affecting CUDA-only workloads.

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Suppress the unused mutability warning only on targets where neither CUDA nor NPU enrichment can modify samples.

Co-authored-by: Cursor <cursoragent@cursor.com>
@reiase
reiase merged commit 4013c72 into DeepLink-org:master Aug 20, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants