2301_76761127/profusion_pr-npu
模型介绍
文件和版本
Pull Requests
讨论
分析

PROFusion pose regression on Ascend NPU

This repository provides an NPU-only entrypoint for the official siyan824/profusion_pr checkpoint at revision 5bd11607231178d5310dd4dfa2c239dfa9cbadfc. It executes the complete official two-view image encoder, dual-view decoder, point encoder, and pose head.

Use the upstream source from https://github.com/siyandong/PROFusion.git at commit 24f2d9ce0f48cf35c8b5dbc6203fe927a9499faa as --source-dir; the checkpoint is not redistributed here.

git clone https://github.com/siyandong/PROFusion.git PROFusion
git -C PROFusion checkout --detach 24f2d9ce0f48cf35c8b5dbc6203fe927a9499faa
git clone https://gitcode.com/hf_mirrors/siyan824/profusion_pr.git model
git -C model checkout --detach 5bd11607231178d5310dd4dfa2c239dfa9cbadfc
git -C model lfs pull
python3 -m pip install --target ./pydeps -r requirements.txt
source /usr/local/Ascend/ascend-toolkit/set_env.sh
PYTHONPATH="$PWD/pydeps:$PYTHONPATH" python inference.py \
  --model-dir "$PWD/model" \
  --source-dir "$PWD/PROFusion" \
  --device npu:0 --samples 1 --output result.json

The hosted rerun used CANN 8.5.1 with platform PyTorch 2.9.0 and torch_npu 2.9.0.post1; requirements intentionally leave that pair untouched.

The script refuses non-NPU devices. It records the model/input/output device chain, shapes/counts, finite/non-finite counts, timing, and exit status. The upstream CUDA-only NVTX profiling context is disabled; it does not affect model computation, and no CPU/CUDA inference bridge or fallback is used.

Verification evidence

The two DS-V4-Flash workflow views are independent plan-only conversations: an overall Ascend NPU migration design and a separate dependency, operator, full-NPU validation, and troubleshooting plan. They do not execute tools or modify repository files.

DS-V4-Flash overall Ascend NPU migration plan

DS-V4-Flash dependency, operator, validation and troubleshooting plan

The device views show the same Python PID at two distinct times. The result views show complete and concise views of the same successful real-NPU run.

NPU device call, first time point

NPU device call, second time point

Model result, full view

Model result, concise view

本仓为 2301_76761127 队伍交付件(与备份账号合并提交)。