2301_76761127/videoflextok_d18_d18_k600-npu
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

VideoFlexTok d18-d18-k600 Ascend NPU inference

This repository contains an Ascend NPU-only validation entry point for the published VideoFlexTok d18-d18-k600 checkpoint. It loads the complete checkpoint and executes the learned video-tokenizer encoder, finite-scalar quantizer, flow-matching noise module, and decoder on npu:0 from the model's documented VAE-latent interface.

Run

git clone https://huggingface.co/EPFL-VILAB/videoflextok_d18_d18_k600 model
git -C model checkout --detach b1e468168ba7a1869206d3fc74e369c095895722
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" python3 inference.py \
  --model "$PWD/model" \
  --output ./npu-result.json

The JSON result records the model/input/output device chain, tensor shapes and counts, and observed NaN/Inf counts.

The hosted rerun uses CANN 8.5.1 with platform PyTorch 2.9.0 and torch_npu 2.9.0.post1. The checkpoint source above is the actual fixed Hugging Face revision used by the Model Agent container.

Verification evidence

The two workflow views are independent DS-V4-Flash plan-only conversations; the device views are two time points from one Python PID; and the result views are the complete result plus a distinct key-field summary.

Agent workflow A Agent workflow B NPU device T1 NPU device T2 Model result Model result summary

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

ModelAgent 环境复核(CANN 8.5.1)

本模型已同步在 ModelAgent 容器(CANN 8.5.1 / torch 2.9.0 / torch_npu 2.9.0)中完成适配复核, 复核通过。适配与复核记录、真实工作截图见: model_agent-adapter-summary

复核工作汇总