/data8/runqing/miniconda/envs/llava-next-video/lib/python3.10/site-packages/huggingface_hub/file_download.py:949: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`. warnings.warn( [eval] args={'model_path': '/data4/runqing/hf/LLaVA-NeXT-Video-7B-localized', 'dataset_json': '/data4/runqing/dLLM-RL/data/video_reversal_sft_test.json', 'output_dir': '/data4/runqing/dLLM-RL/tmp/llava_next_base_tvcd_gpu3', 'device': 'cuda:0', 'conv_mode': 'vicuna_v1', 'max_samples': 1000, 'start_index': 3000, 'frames': 16, 'force_sample': False, 'mm_spatial_pool_stride': 2, 'mm_spatial_pool_mode': 'average', 'mm_newline_position': None, 'temperature': 0.0, 'max_new_tokens': 12, 'top_p': 0.1, 'num_beams': 1, 'use_tvcd': True, 'cd_alpha': 1.0, 'cd_beta': 0.1, 'tvcd_shuffle_seed': 42, 'resume': False} [eval] output_dir=/data4/runqing/dLLM-RL/tmp/llava_next_base_tvcd_gpu3 /data8/runqing/miniconda/envs/llava-next-video/lib/python3.10/site-packages/transformers/models/llava/configuration_llava.py:103: FutureWarning: The `vocab_size` argument is deprecated and will be removed in v4.42, since it can be inferred from the `text_config`. Passing this argument has no effect warnings.warn( [eval] loading model from /data4/runqing/hf/LLaVA-NeXT-Video-7B-localized Loaded LLaVA model: /data4/runqing/hf/LLaVA-NeXT-Video-7B-localized You are using a model of type llava to instantiate a model of type llava_llama. This is not supported for all configurations of models and can yield errors. Overwriting config with {'mm_spatial_pool_mode': 'average', 'mm_spatial_pool_stride': 2, 'mm_newline_position': 'no_token'} You are attempting to use Flash Attention 2.0 with a model not initialized on GPU. Make sure to move the model to GPU after initializing it on CPU with `model.to('cuda')`. Loading checkpoint shards: 0%| | 0/3 [00:00