EPFL-VILAB/videoflextok_d18_d28b08f2d168ce208b54b15e55d427ca1fb5910168cvideo-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,
256,
256
],
"resolution": "256x256",
"frames": 17,
"normalized": "-1~1",
"seed": 42,
"weight_key": "video_tokenizer.encoder.module_dict.enc_patch_emb.patch_proj.weight",
"chunk_size": 17,
"overlap": 1
}{
"tokens_shape": [
1,
5,
256
],
"reconst_shape": [
1,
3,
17,
256,
256
],
"tokens_device": "npu:0",
"reconst_device": "npu:0",
"tokens_dtype": "torch.int64",
"reconst_dtype": "torch.float32"
}{
"token_ids_match": true,
"max_abs_diff": 0.0,
"mean_abs_diff": 0.0,
"reconst_psnr": 42.87195790373729,
"reconst_mse": 5.161836088518612e-05,
"self_consistency": true
}{
"npu_inference_ms": 162.58740425109863,
"stable_ms": 1.9986629486083984,
"frames_per_s": 104.5591451459877,
"tokens_per_s": 7872.688575697897,
"dtype": "float32",
"resolution": "256x256",
"frames": 17,
"peak_memory_gb": 0.031634944
}


#NPU #Ascend #Ascend910