/opt/conda/envs/py310/bin/python -m mlc_llm gen_config /models/Hermes-2-Pro-Llama-3-8B --quantization q0f16 --conv-template llama-3 --output /models/mlc-delivery/hf/mlc-ai/Hermes-2-Pro-Llama-3-8B-q0f16-MLC [2024-06-04 03:23:40] INFO auto_config.py:116: Found model configuration: /models/Hermes-2-Pro-Llama-3-8B/config.json [2024-06-04 03:23:40] INFO auto_config.py:154: Found model type: llama. Use `--model-type` to override. [2024-06-04 03:23:40] INFO llama_model.py:52: context_window_size not found in config.json. Falling back to max_position_embeddings (8192) [2024-06-04 03:23:40] INFO llama_model.py:72: prefill_chunk_size defaults to 2048 [2024-06-04 03:23:40] INFO config.py:107: Overriding max_batch_size from 1 to 80 [2024-06-04 03:23:40] INFO gen_config.py:143: [generation_config.json] Setting bos_token_id: 128000 [2024-06-04 03:23:40] INFO gen_config.py:143: [generation_config.json] Setting eos_token_id: 128003 [2024-06-04 03:23:40] INFO gen_config.py:157: Not found tokenizer config: /models/Hermes-2-Pro-Llama-3-8B/tokenizer.model [2024-06-04 03:23:40] INFO gen_config.py:155: Found tokenizer config: /models/Hermes-2-Pro-Llama-3-8B/tokenizer.json. Copying to /models/mlc-delivery/hf/mlc-ai/Hermes-2-Pro-Llama-3-8B-q0f16-MLC/tokenizer.json [2024-06-04 03:23:40] INFO gen_config.py:157: Not found tokenizer config: /models/Hermes-2-Pro-Llama-3-8B/vocab.json [2024-06-04 03:23:40] INFO gen_config.py:157: Not found tokenizer config: /models/Hermes-2-Pro-Llama-3-8B/merges.txt [2024-06-04 03:23:40] INFO gen_config.py:157: Not found tokenizer config: /models/Hermes-2-Pro-Llama-3-8B/added_tokens.json [2024-06-04 03:23:40] INFO gen_config.py:155: Found tokenizer config: /models/Hermes-2-Pro-Llama-3-8B/tokenizer_config.json. Copying to /models/mlc-delivery/hf/mlc-ai/Hermes-2-Pro-Llama-3-8B-q0f16-MLC/tokenizer_config.json [2024-06-04 03:23:40] INFO gen_config.py:216: Detected tokenizer info: {'token_postproc_method': 'byte_level', 'prepend_space_in_encode': False, 'strip_space_in_decode': False} [2024-06-04 03:23:40] INFO gen_config.py:32: [System default] Setting pad_token_id: 0 [2024-06-04 03:23:40] INFO gen_config.py:32: [System default] Setting temperature: 1.0 [2024-06-04 03:23:40] INFO gen_config.py:32: [System default] Setting presence_penalty: 0.0 [2024-06-04 03:23:40] INFO gen_config.py:32: [System default] Setting frequency_penalty: 0.0 [2024-06-04 03:23:40] INFO gen_config.py:32: [System default] Setting repetition_penalty: 1.0 [2024-06-04 03:23:40] INFO gen_config.py:32: [System default] Setting top_p: 1.0 [2024-06-04 03:23:40] INFO gen_config.py:32: [System default] Setting mean_gen_len: 128 [2024-06-04 03:23:40] INFO gen_config.py:32: [System default] Setting max_gen_len: 512 [2024-06-04 03:23:40] INFO gen_config.py:32: [System default] Setting shift_fill_factor: 0.3 [2024-06-04 03:23:40] INFO gen_config.py:223: Dumping configuration file to: /models/mlc-delivery/hf/mlc-ai/Hermes-2-Pro-Llama-3-8B-q0f16-MLC/mlc-chat-config.json /opt/conda/envs/py310/bin/python -m mlc_llm convert_weight /models/Hermes-2-Pro-Llama-3-8B --quantization q0f16 --output /models/mlc-delivery/hf/mlc-ai/Hermes-2-Pro-Llama-3-8B-q0f16-MLC [2024-06-04 03:23:41] INFO auto_config.py:116: Found model configuration: /models/Hermes-2-Pro-Llama-3-8B/config.json [2024-06-04 03:23:43] INFO auto_device.py:79: Found device: cuda:0 [2024-06-04 03:23:44] INFO auto_device.py:88: Not found device: rocm:0 [2024-06-04 03:23:45] INFO auto_device.py:88: Not found device: metal:0 [2024-06-04 03:23:47] INFO auto_device.py:79: Found device: vulkan:0 [2024-06-04 03:23:47] INFO auto_device.py:79: Found device: vulkan:1 [2024-06-04 03:23:47] INFO auto_device.py:79: Found device: vulkan:2 [2024-06-04 03:23:47] INFO auto_device.py:79: Found device: vulkan:3 [2024-06-04 03:23:48] INFO auto_device.py:88: Not found device: opencl:0 [2024-06-04 03:23:48] INFO auto_device.py:35: Using device: cuda:0 [2024-06-04 03:23:48] INFO auto_weight.py:71: Finding weights in: /models/Hermes-2-Pro-Llama-3-8B [2024-06-04 03:23:48] INFO auto_weight.py:137: Not found Huggingface PyTorch [2024-06-04 03:23:48] INFO auto_weight.py:144: Found source weight format: huggingface-safetensor. Source configuration: /models/Hermes-2-Pro-Llama-3-8B/model.safetensors.index.json [2024-06-04 03:23:48] INFO auto_weight.py:107: Using source weight configuration: /models/Hermes-2-Pro-Llama-3-8B/model.safetensors.index.json. Use `--source` to override. [2024-06-04 03:23:48] INFO auto_weight.py:111: Using source weight format: huggingface-safetensor. Use `--source-format` to override. [2024-06-04 03:23:48] INFO auto_config.py:154: Found model type: llama. Use `--model-type` to override. [2024-06-04 03:23:48] INFO llama_model.py:52: context_window_size not found in config.json. Falling back to max_position_embeddings (8192) [2024-06-04 03:23:48] INFO llama_model.py:72: prefill_chunk_size defaults to 2048 Weight conversion with arguments: --config /models/Hermes-2-Pro-Llama-3-8B/config.json --quantization NoQuantize(name='q0f16', kind='no-quant', model_dtype='float16') --model-type llama --device cuda:0 --source /models/Hermes-2-Pro-Llama-3-8B/model.safetensors.index.json --source-format huggingface-safetensor --output /models/mlc-delivery/hf/mlc-ai/Hermes-2-Pro-Llama-3-8B-q0f16-MLC Start storing to cache /models/mlc-delivery/hf/mlc-ai/Hermes-2-Pro-Llama-3-8B-q0f16-MLC 0%| | 0/195 [00:00