businesslion/scaffdiff2a0165a5b93259d5ced2f26b196298b36e55dbf0point-cloud-scene-completion (scaffold-dominant diffusion teacher)npu:0 (Ascend910_9362, CANN 8.5.1, torch_npu 2.9.0){
"soc": "Ascend910 (2 chips, npu:0 used)",
"cann": "8.5.1",
"torch": "2.9.0+cpu",
"torch_npu": "2.9.0.post1",
"python": "3.11.14 (aarch64)",
"key_ops_replaced": [
"spconv.SubMConv3d -> pure-PyTorch gather-based sub-manifold conv (identical weight layout)",
"torch_scatter.segment_csr -> index_add / padded-max CSR reduction",
"spconv.SparseConvTensor -> lightweight container",
"int64 tensor bit shifts -> multiply / floor-div emulation",
"torch.cdist (denoiser kNN) -> matmul squared-distance topk"
]
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"fixture": "deterministic synthetic outdoor LiDAR-like scan (ground plane + 5 boxes + 4 poles), seed=42",
"raw_points": 17195,
"points_after_voxelization": 16965,
"scaffold_points": 7951,
"voxel_size_m": 0.05,
"timestep_t": 200,
"dtype": "fp32",
"device_tensors": "coord/color/normal/batch all on npu:0"
}{
"pred_x0_shape": [
7951,
3
],
"finite_ratio": 1.0,
"pred_mean_m": [
-0.0445,
0.2764,
-0.0251
],
"pred_std_m": [
20.9239,
20.8521,
0.8629
]
}{
"protocol": "identical weights (strict state-dict load, sha256 eb599c52...), identical fixture/seed/dtype, CPU baseline vs npu:0",
"mean_abs_diff_m": 0.004994,
"max_abs_diff_m": 0.105203,
"mean_abs_diff_relative_to_scene_scale": 0.000122,
"within_one_scaffold_voxel_005m_ratio": 0.997,
"criteria": "mean diff <= 1% scene scale (41.1 m), max diff <= 5% scale, >=99% points within one 0.05 m voxel",
"passed": true
}{
"latency_first_run_s": 1.283,
"latency_stable_mean_s": 1.2853,
"latency_stable_std_s": 0.0024,
"fps_stable": 0.778,
"peak_memory_gb": 1.069,
"warmup_runs": 3,
"timed_runs": 12,
"timing": "torch.npu.synchronize() before/after each timed run"
}


#NPU #Ascend #Ascend910