/home/junrushao/micromamba/envs/python311/bin/python -m mlc_chat gen_config /opt/scratch/assets/stablecode-instruct-alpha-3b --quantization q4f16_1 --conv-template stablecode_instruct --output /home/junrushao/tmp/tmpa_wowcsk --context-window-size 4096 [2024-01-08 19:20:51] INFO auto_config.py:115: Found model configuration: /opt/scratch/assets/stablecode-instruct-alpha-3b/config.json [2024-01-08 19:20:51] INFO auto_config.py:151: Found model type: gpt_neox. Use `--model-type` to override. [2024-01-08 19:20:51] INFO gpt_neox_model.py:46: context_window_size not found in config.json. Falling back to max_position_embeddings (4096) [2024-01-08 19:20:51] INFO gpt_neox_model.py:69: prefill_chunk_size defaults to context_window_size (4096) [2024-01-08 19:20:51] INFO compiler_flags.py:118: Overriding context_window_size from 4096 to 4096 [2024-01-08 19:20:51] INFO gen_config.py:117: [generation_config.json] Setting bos_token_id: 0 [2024-01-08 19:20:51] INFO gen_config.py:117: [generation_config.json] Setting eos_token_id: 0 [2024-01-08 19:20:51] INFO gen_config.py:131: Not found tokenizer config: /opt/scratch/assets/stablecode-instruct-alpha-3b/tokenizer.model [2024-01-08 19:20:51] INFO gen_config.py:129: Found tokenizer config: /opt/scratch/assets/stablecode-instruct-alpha-3b/tokenizer.json. Copying to /home/junrushao/tmp/tmpa_wowcsk/tokenizer.json [2024-01-08 19:20:51] INFO gen_config.py:131: Not found tokenizer config: /opt/scratch/assets/stablecode-instruct-alpha-3b/vocab.json [2024-01-08 19:20:51] INFO gen_config.py:131: Not found tokenizer config: /opt/scratch/assets/stablecode-instruct-alpha-3b/merges.txt [2024-01-08 19:20:51] INFO gen_config.py:131: Not found tokenizer config: /opt/scratch/assets/stablecode-instruct-alpha-3b/added_tokens.json [2024-01-08 19:20:51] INFO gen_config.py:129: Found tokenizer config: /opt/scratch/assets/stablecode-instruct-alpha-3b/tokenizer_config.json. Copying to /home/junrushao/tmp/tmpa_wowcsk/tokenizer_config.json [2024-01-08 19:20:51] INFO gen_config.py:70: [System default] Setting pad_token_id: 0 [2024-01-08 19:20:51] INFO gen_config.py:70: [System default] Setting temperature: 0.7 [2024-01-08 19:20:51] INFO gen_config.py:70: [System default] Setting repetition_penalty: 1.0 [2024-01-08 19:20:51] INFO gen_config.py:70: [System default] Setting top_p: 0.95 [2024-01-08 19:20:51] INFO gen_config.py:70: [System default] Setting mean_gen_len: 128 [2024-01-08 19:20:51] INFO gen_config.py:70: [System default] Setting max_gen_len: 512 [2024-01-08 19:20:51] INFO gen_config.py:70: [System default] Setting shift_fill_factor: 0.3 [2024-01-08 19:20:51] INFO gen_config.py:159: Dumping configuration file to: /home/junrushao/tmp/tmpa_wowcsk/mlc-chat-config.json /home/junrushao/micromamba/envs/python311/bin/python -m mlc_chat convert_weight /opt/scratch/assets/stablecode-instruct-alpha-3b --quantization q4f16_1 --source-format auto --output /home/junrushao/tmp/tmpa_wowcsk [2024-01-08 19:20:52] INFO auto_config.py:115: Found model configuration: /opt/scratch/assets/stablecode-instruct-alpha-3b/config.json [2024-01-08 19:20:52] INFO auto_device.py:76: Found device: cuda:0 [2024-01-08 19:20:52] INFO auto_device.py:76: Found device: cuda:1 [2024-01-08 19:20:52] INFO auto_device.py:76: Found device: cuda:2 [2024-01-08 19:20:52] INFO auto_device.py:76: Found device: cuda:3 [2024-01-08 19:20:53] INFO auto_device.py:85: Not found device: rocm:0 [2024-01-08 19:20:53] INFO auto_device.py:85: Not found device: metal:0 [2024-01-08 19:20:53] INFO auto_device.py:85: Not found device: vulkan:0 [2024-01-08 19:20:54] INFO auto_device.py:85: Not found device: opencl:0 [2024-01-08 19:20:54] INFO auto_device.py:33: Using device: cuda:0 [2024-01-08 19:20:54] INFO auto_weight.py:70: Finding weights in: /opt/scratch/assets/stablecode-instruct-alpha-3b [2024-01-08 19:20:54] INFO auto_weight.py:129: Found source weight format: huggingface-torch. Source configuration: /opt/scratch/assets/stablecode-instruct-alpha-3b/pytorch_model.bin [2024-01-08 19:20:54] INFO auto_weight.py:143: Found source weight format: huggingface-safetensor. Source configuration: /opt/scratch/assets/stablecode-instruct-alpha-3b/model.safetensors.index.json [2024-01-08 19:20:54] INFO auto_weight.py:106: Using source weight configuration: /opt/scratch/assets/stablecode-instruct-alpha-3b/pytorch_model.bin. Use `--source` to override. [2024-01-08 19:20:54] INFO auto_weight.py:110: Using source weight format: huggingface-torch. Use `--source-format` to override. [2024-01-08 19:20:54] INFO auto_config.py:151: Found model type: gpt_neox. Use `--model-type` to override. [2024-01-08 19:20:54] INFO gpt_neox_model.py:46: context_window_size not found in config.json. Falling back to max_position_embeddings (4096) [2024-01-08 19:20:54] INFO gpt_neox_model.py:69: prefill_chunk_size defaults to context_window_size (4096) [2024-01-08 19:21:02] INFO huggingface_loader.py:169: Loading HF parameters from: /opt/scratch/assets/stablecode-instruct-alpha-3b/pytorch_model.bin Weight conversion with arguments: --config /opt/scratch/assets/stablecode-instruct-alpha-3b/config.json --quantization GroupQuantize(name='q4f16_1', kind='group-quant', group_size=32, quantize_dtype='int4', storage_dtype='uint32', model_dtype='float16', num_elem_per_storage=8, num_storage_per_group=4, max_int_value=7) --model-type gpt_neox --device cuda:0 --source /opt/scratch/assets/stablecode-instruct-alpha-3b/pytorch_model.bin --source-format huggingface-torch --output /home/junrushao/tmp/tmpa_wowcsk 0%| | 0/388 [00:00