Assets (real sanitized evidence from this delivery):
assets/agent_workflow.png — end-to-end NPU inference workflowassets/modelagent_live_session.png — sanitized ModelAgent live session + final acceptanceassets/npu_device_call.png — live npu-smi device/process evidence on npu:4assets/model_result.png — final logs/npu_result.json resultDreamZero-DROID is a 14B-parameter Vision-Language-Action (VLA) world action model fine-tuned by NVIDIA on the DROID robot dataset. Given image observations, a language instruction and an action sequence, it runs an action-conditioned, teacher-forcing world-model forward step that jointly predicts:
video_noise_pred — the predicted video-noise latent ([1, 16, 3, 80, 44], bf16),action_noise_pred — the predicted action-noise vector ([1, 24, 32], bf16).The diffusion backbone is a CausalWanModel (Wan 2.1-based video diffusion
transformer, model_type: i2v) with dim=5120, ffn_dim=13824, num_layers=40,
num_heads=40, frame_seqlen=880 and an action/state co-token layout
(num_frame_per_block=2, num_action_per_block=24, num_state_per_block=1).
This delivery adapts the pinned upstream checkpoint
GEAR-Dreams/DreamZero-DROID
(revision 96ad344138c66e82536422432ad742f015784942, 10 safetensors shards,
45.8 GB total) for complete real Ascend NPU inference on physical npu:4
using torch_npu. All model parameters, numeric inputs, intermediates and outputs
live on the NPU; the CPU only orchestrates, deserializes weights and reports.
Copyright (c) 2025 NVIDIA Corporation. Licensed under the Apache License, Version 2.0.
The runtime keeps the CANN-matched torch 2.9.0+cpu and torch_npu 2.9.0 pair
pre-installed on the host and never replaces or upgrades them. Only the pure-Python
dependencies below are installed via the Aliyun PyPI mirror into a venv created with
--system-site-packages (so the venv reuses the system torch / torch_npu):
python3 -m venv --system-site-packages /work/pipeline/runtime/venvs-rl26/dreamzero-droid-venv
/work/pipeline/runtime/venvs-rl26/dreamzero-droid-venv/bin/pip install \
--index-url https://mirrors.aliyun.com/pypi/simple/ -r requirements.txtVerified runtime versions (recorded in logs/npu_result.json):
| Component | Version |
|---|---|
| Python | 3.11.14 |
| torch | 2.9.0+cpu |
| torch_npu | 2.9.0 |
| CANN | 8.5.1 |
| diffusers | 0.32.2 |
| transformers | 4.57.1 |
| einops | 0.8.2 |
| safetensors | 0.8.0 |
| numpy | 1.26.4 |
requirements.txt (mirror-only, torch/torch_npu intentionally absent):
diffusers==0.32.2
transformers==4.57.1
einops==0.8.2
safetensors==0.8.0
numpy==1.26.4/work/pipeline/models/rl26/dreamzero-droid/, and the delivery config under
assets/config.json and index under assets/model.safetensors.index.json.inference.py
itself via os.environ.setdefault):
export ENABLE_TENSORRT=True
export ATTENTION_BACKEND=torchnpu:4:
cd /work/pipeline/jobs/rl26/dreamzero-droid/dreamzero-droid-npu
nohup /work/pipeline/runtime/venvs-rl26/dreamzero-droid-venv/bin/python \
inference.py \
--model-dir /work/pipeline/models/rl26/dreamzero-droid \
--device npu:4 \
--hold-secs 10 \
> logs/npu_inference.stdout.log 2>&1 &inference.py:
torch.npu.is_available(), binds npu:4, and reports the device name;CausalWanModel directly in bf16 (~33 GB footprint) and strictly loads
all 1317 action_head.model.* tensors from the 10 shards (missing/unexpected keys
fail non-zero); the 829 auxiliary text/image/VAE tensors are counted and reported;npu:4;npu:4,
asserting input/model/output placement on npu:4;--hold-secs so npu-smi can correlate
the exact Python PID, and writes logs/npu_inference.log + logs/npu_result.json.Command (run on the physical host, npu:4):
cd /work/pipeline/jobs/rl26/dreamzero-droid/dreamzero-droid-npu && \
nohup /work/pipeline/runtime/venvs-rl26/dreamzero-droid-venv/bin/python \
inference.py \
--model-dir /work/pipeline/models/rl26/dreamzero-droid \
--device npu:4 \
--hold-secs 10 \
> logs/npu_inference.stdout.log 2>&1 &Exit code: 0 (from logs/npu_result.json).
Key log lines (logs/npu_inference.log):
[2026-08-22 15:35:24] NPU available: Ascend910B4-1 on npu:4 (pid=73704)
[2026-08-22 15:35:25] versions: {"python": "3.11.14", "torch": "2.9.0+cpu", "torch_npu": "2.9.0", "diffusers": "0.32.2", "safetensors": "0.8.0", "cann": "8.5.1"}
[2026-08-22 15:35:25] shards: 10 files, 2146 tensors per index
[2026-08-22 15:40:16] model constructed with 16484292448 params
[2026-08-22 15:40:31] strict load OK: 1317 action_head.model.* tensors consumed
[2026-08-22 15:40:33] forward elapsed 1543 ms; total 310247 ms
[2026-08-22 15:40:33] SUCCESSTop-level logs/npu_result.json fields:
| Field | Value |
|---|---|
| model_id | GEAR-Dreams/DreamZero-DROID |
| engine | torch_npu |
| exit_code | 0 |
| npu_available | true |
| npu_device_name | Ascend910B4-1 |
| source_revision | 96ad344138c66e82536422432ad742f015784942 |
| input_device | npu:4 |
| model_device | npu:4 |
| output_device | npu:4 |
| pid | 73704 |
| forward_ms | 1543 |
| elapsed_ms | 310247 |
Strict-load accounting: 2146 tensors read from 10 shards (2146 = index total);
1317 action_head.model.* tensors strictly loaded into CausalWanModel
(missing_keys=0, unexpected_keys=0, param_count=16484292448); auxiliary
accounted — text_encoder: 242 (5.68B params), image_encoder: 393 (632M),
vae: 194 (127M).
Meaningful NPU output (asserted on npu:4):
video_noise_pred : shape=[1, 16, 3, 80, 44] dtype=bfloat16 device=npu:4
abs_mean=0.265024 abs_max=1.91406 mean=0.0380622 std=0.380775
sample_flat=[0.2353515625, 0.054931640625, 0.251953125, ...]
action_noise_pred: shape=[1, 24, 32] dtype=bfloat16 device=npu:4
abs_mean=1.47309 abs_max=14.25 mean=0.145098 std=2.47366
sample_flat=[0.349609375, -5.375, -6.375, -14.25, ...]NPU memory: allocated=33.07 GiB, max_allocated=34.76 GiB,
reserved=35.89 GiB (fits the 64 GiB HBM of Ascend910B4-1).
Live npu-smi PID correlation (sanitized raw evidence retained in
logs/npu_inference.log and logs/npu_smi_after_exit.txt):
torch_npu bound the device context:
driver pid 1684877, 110 MB on npu:4;| 4 0 | 1684877 | | 34458 | on npu:4 (34.4 GB — the loaded model),
correlated with inference pid=73704 / --device npu:4;No running processes found in NPU 4 (device idle again).The npu-smi Process id is a driver-side device-context id (not the host PID);
the same driver pid (1684877) appears before and during the forward and
disappears after exit, proving the forward ran on the physical NPU and not on a
CPU fallback.