/home/cfruan/.conda/envs/mlc-source-311/bin/python -m mlc_chat gen_config /ssd1/cfruan/models/stablelm-zephyr-3b --quantization q4f16_1 --conv-template stablelm-3b --output /tmp/tmps__vsz_3 --context-window-size 4096 [2024-02-02 20:02:38] INFO auto_config.py:115: Found model configuration: /ssd1/cfruan/models/stablelm-zephyr-3b/config.json [2024-02-02 20:02:38] INFO auto_config.py:153: Found model type: stablelm_epoch. Use `--model-type` to override. [2024-02-02 20:02:38] INFO stablelm_model.py:45: context_window_size not found in config.json. Falling back to max_position_embeddings (4096) [2024-02-02 20:02:38] INFO stablelm_model.py:59: prefill_chunk_size defaults to context_window_size (4096) [2024-02-02 20:02:38] INFO config.py:106: Overriding context_window_size from 4096 to 4096 [2024-02-02 20:02:38] WARNING config.py:99: Warning: Cannot override max_batch_size, because StableLMEpochConfig does not have this field [2024-02-02 20:02:38] INFO gen_config.py:116: [generation_config.json] Setting bos_token_id: 0 [2024-02-02 20:02:38] INFO gen_config.py:116: [generation_config.json] Setting eos_token_id: 0 [2024-02-02 20:02:38] INFO gen_config.py:130: Not found tokenizer config: /ssd1/cfruan/models/stablelm-zephyr-3b/tokenizer.model [2024-02-02 20:02:38] INFO gen_config.py:128: Found tokenizer config: /ssd1/cfruan/models/stablelm-zephyr-3b/tokenizer.json. Copying to /tmp/tmps__vsz_3/tokenizer.json [2024-02-02 20:02:38] INFO gen_config.py:130: Not found tokenizer config: /ssd1/cfruan/models/stablelm-zephyr-3b/vocab.json [2024-02-02 20:02:38] INFO gen_config.py:130: Not found tokenizer config: /ssd1/cfruan/models/stablelm-zephyr-3b/merges.txt [2024-02-02 20:02:38] INFO gen_config.py:130: Not found tokenizer config: /ssd1/cfruan/models/stablelm-zephyr-3b/added_tokens.json [2024-02-02 20:02:38] INFO gen_config.py:128: Found tokenizer config: /ssd1/cfruan/models/stablelm-zephyr-3b/tokenizer_config.json. Copying to /tmp/tmps__vsz_3/tokenizer_config.json [2024-02-02 20:02:38] INFO gen_config.py:69: [System default] Setting pad_token_id: 0 [2024-02-02 20:02:38] INFO gen_config.py:69: [System default] Setting temperature: 0.7 [2024-02-02 20:02:38] INFO gen_config.py:69: [System default] Setting repetition_penalty: 1.0 [2024-02-02 20:02:38] INFO gen_config.py:69: [System default] Setting top_p: 0.95 [2024-02-02 20:02:38] INFO gen_config.py:69: [System default] Setting mean_gen_len: 128 [2024-02-02 20:02:38] INFO gen_config.py:69: [System default] Setting max_gen_len: 512 [2024-02-02 20:02:38] INFO gen_config.py:69: [System default] Setting shift_fill_factor: 0.3 [2024-02-02 20:02:38] INFO gen_config.py:158: Dumping configuration file to: /tmp/tmps__vsz_3/mlc-chat-config.json /home/cfruan/.conda/envs/mlc-source-311/bin/python -m mlc_chat convert_weight /ssd1/cfruan/models/stablelm-zephyr-3b --quantization q4f16_1 --source-format auto --output /tmp/tmps__vsz_3 [2024-02-02 20:02:39] INFO auto_config.py:115: Found model configuration: /ssd1/cfruan/models/stablelm-zephyr-3b/config.json [2024-02-02 20:02:39] INFO auto_device.py:76: Found device: cuda:0 [2024-02-02 20:02:39] INFO auto_device.py:76: Found device: cuda:1 [2024-02-02 20:02:40] INFO auto_device.py:85: Not found device: rocm:0 [2024-02-02 20:02:40] INFO auto_device.py:85: Not found device: metal:0 [2024-02-02 20:02:41] INFO auto_device.py:76: Found device: vulkan:0 [2024-02-02 20:02:41] INFO auto_device.py:76: Found device: vulkan:1 [2024-02-02 20:02:41] INFO auto_device.py:76: Found device: vulkan:2 [2024-02-02 20:02:41] INFO auto_device.py:85: Not found device: opencl:0 [2024-02-02 20:02:41] INFO auto_device.py:33: Using device: cuda:0 [2024-02-02 20:02:41] INFO auto_weight.py:70: Finding weights in: /ssd1/cfruan/models/stablelm-zephyr-3b [2024-02-02 20:02:41] INFO auto_weight.py:136: Not found Huggingface PyTorch [2024-02-02 20:02:41] INFO auto_weight.py:143: Found source weight format: huggingface-safetensor. Source configuration: /ssd1/cfruan/models/stablelm-zephyr-3b/model.safetensors.index.json [2024-02-02 20:02:41] INFO auto_weight.py:106: Using source weight configuration: /ssd1/cfruan/models/stablelm-zephyr-3b/model.safetensors.index.json. Use `--source` to override. [2024-02-02 20:02:41] INFO auto_weight.py:110: Using source weight format: huggingface-safetensor. Use `--source-format` to override. [2024-02-02 20:02:41] INFO auto_config.py:153: Found model type: stablelm_epoch. Use `--model-type` to override. [2024-02-02 20:02:41] INFO stablelm_model.py:45: context_window_size not found in config.json. Falling back to max_position_embeddings (4096) [2024-02-02 20:02:41] INFO stablelm_model.py:59: prefill_chunk_size defaults to context_window_size (4096) Weight conversion with arguments: --config /ssd1/cfruan/models/stablelm-zephyr-3b/config.json --quantization GroupQuantize(name='q4f16_1', kind='group-quant', group_size=32, quantize_dtype='int4', storage_dtype='uint32', model_dtype='float16', linear_weight_layout='NK', num_elem_per_storage=8, num_storage_per_group=4, max_int_value=7) --model-type stablelm_epoch --device cuda:0 --source /ssd1/cfruan/models/stablelm-zephyr-3b/model.safetensors.index.json --source-format huggingface-safetensor --output /tmp/tmps__vsz_3 0%| | 0/260 [00:00