This is the sole offline NPU inference entry for ShandaAI/FloodDiffusionTiny, fixed revision e86746efa2f16b94a1bb08550e3d8d4a32163f14. Place that exact snapshot at ./model; model weights are not committed here.
The official hosted rerun passed on Ascend 910B3 with Python 3.11, CANN 8.5.1,
platform PyTorch 2.9.0 and torch_npu 2.9.0. Preserve that platform pair;
do not install a replacement CPU/CUDA torch build into pydeps.
From a fresh parent directory, recover the public snapshot and model-layer dependencies as follows:
git clone https://gitcode.com/2301_78565107/FloodDiffusionTiny.git repo
git clone --no-checkout https://gitcode.com/hf_mirrors/ShandaAI/FloodDiffusionTiny.git model
git -C model checkout e86746efa2f16b94a1bb08550e3d8d4a32163f14
git -C model lfs pull
python3 -m pip install --index-url https://pypi.org/simple \
--target ./repo/pydeps -r ./repo/requirements.txtThe explicit PyPI index avoids an aarch64 mirror-lag case observed for the
public safetensors==0.8.0 wheel. No private AUX, private wheelhouse or
pre-staged Python module is required. The entry loads both supplied learned
checkpoints and executes the complete diffusion-transformer core and VAE
forward on NPU; flash-attention and complex RoPE are decomposed into supported
NPU base operators.
cd repo
source /usr/local/Ascend/ascend-toolkit/set_env.sh
export TORCH_DEVICE_BACKEND_AUTOLOAD=0
PYTHONPATH="$PWD/pydeps" python3 inference.py \
--model-path ../model --device npu:0 --output audit/npu_result.jsonCPU/CUDA fallback is forbidden. The result records actual model/input/output devices, parameter count, output shape/value count and exit status. Precision and finiteness are recorded honestly but are non-blocking under the current environment-pass policy. Private logs remain outside this public repository.
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.


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