EPFL-VILAB/videoflextok_d18_d18_k600b1e468168ba7a1869206d3fc74e369c095895722video-tokenizernpu:0{
"torch_version": "2.9.0+cpu",
"torch_npu_available": true,
"device_name": "Ascend910_9362",
"device_count": 2
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"video_shape": [
1,
3,
17,
128,
128
],
"resolution": "128x128",
"frames": 17,
"normalized": "-1~1",
"seed": 42
}{
"tokens_shape": [
1,
5,
128
],
"reconst_shape": [
1,
3,
17,
128,
128
],
"tokens_device": "npu:0",
"reconst_device": "npu:0"
}{
"token_ids_match": true,
"max_abs_diff": 0.0,
"mean_abs_diff": 0.0,
"reconst_psnr": 2.8424744033592826
}{
"npu_inference_ms": 175.72569847106934,
"frames_per_s": 96.74168404457247,
"tokens_per_s": 3642.039869913316,
"dtype": "float32",
"resolution": "128x128",
"frames": 17
}


#NPU #Ascend #Ascend910