Repository navigation
npu 910b4: ModelArts bring-up fixes (visible NPU id, CANN 8.x, Ray NPU visibility, pin waiver) - #227
Merged
Merged
Conversation
… file, Ray NPU visibility, pin waiver) Found on a ModelArts notebook (1x910B4, CANN 8.5.1, verl fork acad9875): - npu-smi board query used ID 0; the container only sees physical ID 4. - CANN 8.x keeps its version in <arch>-linux/ascend_toolkit_install.info. - Ray hides NPUs from CPU-only actors; verl then refuses vLLM-Ascend in YetoTaskRunner. Set RAY_EXPERIMENTAL_NOSET_ASCEND_RT_VISIBLE_DEVICES=1 on Ascend nodes only. - YETO_VERL_ALLOW_UNPINNED=1 (bring-up only) records pin mismatches as problems_waived instead of exit 2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found while running yeto's verl island on a Huawei ModelArts notebook (1x910B4, CANN 8.5.1, verl fork acad9875, vllm-ascend 0.16). Do not merge without review.
catalog._first_npu_id(): npu-smi board query used ID 0; the container only sees physical ID 4.<arch>-linux/ascend_toolkit_install.info.verl_main: on Ascend nodes setRAY_EXPERIMENTAL_NOSET_ASCEND_RT_VISIBLE_DEVICES=1; otherwise the CPU-only YetoTaskRunner sees no NPU and verl refuses vLLM-Ascend. Verified on the card through the env var; the code path itself has not run on a card yet.YETO_VERL_ALLOW_UNPINNED=1(bring-up only): pin mismatches recorded asproblems_waivedinstead of exit 2.On-card result with these workarounds: 20 rounds Qwen3-0.6B LoRA gsm8k, exit 0, 21/21 publication checks VERIFIED, abs_diff 0.008-0.013, k3 0.0003-0.0006, tis_clipfrac 0. Evidence: s1-runs/s20-ascend-rl-a-20261010/.
Tests: tests/test_npu_910b4_prep.py, test_hw_compat_group.py, test_accel.py (68 passed); verl adapter tests (62 passed).
🤖 Generated with Claude Code