凤
weixin_44093752/ruview-ascend-npu
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

ruv/ruview Ascend NPU adaptation

This repository adapts the official ruv/ruview WiFi-sensing encoder for an Ascend NPU smoke run. Google/Kimi official-source search and the Hugging Face API were checked on 2026-08-22. The official model card declares MIT and links to RuView.

Source lock

  • Official model: ruv/ruview
  • Official revision: 472cfbe8482403256d45f4acb0aed1a5f0db41be
  • Official source repository: ruvnet/RuView
  • Selected official artifact: model.safetensors
  • Artifact size: 48,840 bytes
  • Artifact SHA-256: d85fbc9e839908de1d8b885ae3b59dbdf369336c836ecf3f4053c2ce45f6a994
  • Configuration: input 8, hidden 64, embedding 128, LoRA rank 8, quantization metadata 4 bits

The official artifact contains 17 F32 model tensors and a metadata entry. Its header has NUL padding that is not accepted by every standard Safetensors parser. The adaptation removes only trailing header padding, then enforces exact tensor names, dtypes, shapes, offsets, and checkpoint SHA-256 before constructing the equivalent encoder. The flattened official linear weights are reshaped according to the locked architecture.

Real Ascend smoke result

The same deterministic float32 input [1,8] was executed on CPU and a real Ascend910 npu:0. This is an execution and finite-output smoke gate; it does not claim full WiFi-sensing benchmark accuracy.

  • CPU forward: 0.001357445027679205 s
  • NPU forward: 0.1392197459936142 s on npu:0
  • Output shapes: embedding [1,128], presence [1,1]
  • CPU/NPU outputs: finite on both devices
  • Embedding cosine similarity: 0.9999999999998789
  • Embedding maximum and mean absolute difference: 3.814697265625e-05 / 4.274363163858652e-06
  • Presence cosine similarity and maximum difference: 1.0 / 0.0
  • Parameter count: 9025
  • Official checkpoint SHA-256 rechecked on the Pod: d85fbc9e839908de1d8b885ae3b59dbdf369336c836ecf3f4053c2ce45f6a994

The result is intentionally reported as smoke_only: true: the current competition pass requires real NPU execution, not a full upstream accuracy benchmark.

Run

Place the official artifact under model/model.safetensors, source the CANN environment, and run:

root@device:/#

./run.sh

CPU smoke can be selected with DEVICE=cpu ./run.sh. The script writes machine-readable JSON and NumPy artifacts under validation/.

Evidence

Agent workflow

NPU device call

Model result