diff --git "a/logs.txt" "b/logs.txt" new file mode 100644--- /dev/null +++ "b/logs.txt" @@ -0,0 +1,389 @@ +/home/msyu/workspace/venv/bin/python -m mlc_llm gen_config /tmp/tmpom_oz7t5/repo --quantization q4f16_2 --conv-template phi-3 --output /tmp/tmpn0y_4cix +[2024-05-08 13:48:47] INFO auto_config.py:115: Found model configuration: /tmp/tmpom_oz7t5/repo/config.json +[2024-05-08 13:48:47] INFO auto_config.py:153: Found model type: phi3. Use `--model-type` to override. +[2024-05-08 13:48:47] INFO phi3_model.py:53: context_window_size not found in config.json. Falling back to max_position_embeddings (131072) +[2024-05-08 13:48:47] INFO phi3_model.py:68: prefill_chunk_size defaults to 2048 +[2024-05-08 13:48:47] INFO config.py:106: Overriding max_batch_size from 1 to 80 +[2024-05-08 13:48:47] INFO gen_config.py:255: [generation_config.json] Setting bos_token_id: 1 +[2024-05-08 13:48:47] INFO gen_config.py:255: [generation_config.json] Setting eos_token_id: [32000, 32001, 32007] +[2024-05-08 13:48:47] INFO gen_config.py:255: [generation_config.json] Setting pad_token_id: 32000 +[2024-05-08 13:48:47] INFO gen_config.py:267: Found tokenizer config: /tmp/tmpom_oz7t5/repo/tokenizer.model. Copying to /tmp/tmpn0y_4cix/tokenizer.model +[2024-05-08 13:48:47] INFO gen_config.py:267: Found tokenizer config: /tmp/tmpom_oz7t5/repo/tokenizer.json. Copying to /tmp/tmpn0y_4cix/tokenizer.json +[2024-05-08 13:48:47] INFO gen_config.py:269: Not found tokenizer config: /tmp/tmpom_oz7t5/repo/vocab.json +[2024-05-08 13:48:47] INFO gen_config.py:269: Not found tokenizer config: /tmp/tmpom_oz7t5/repo/merges.txt +[2024-05-08 13:48:47] INFO gen_config.py:267: Found tokenizer config: /tmp/tmpom_oz7t5/repo/added_tokens.json. Copying to /tmp/tmpn0y_4cix/added_tokens.json +[2024-05-08 13:48:47] INFO gen_config.py:267: Found tokenizer config: /tmp/tmpom_oz7t5/repo/tokenizer_config.json. Copying to /tmp/tmpn0y_4cix/tokenizer_config.json +[2024-05-08 13:48:47] INFO gen_config.py:80: [System default] Setting temperature: 0.7 +[2024-05-08 13:48:47] INFO gen_config.py:80: [System default] Setting presence_penalty: 0.0 +[2024-05-08 13:48:47] INFO gen_config.py:80: [System default] Setting frequency_penalty: 0.0 +[2024-05-08 13:48:47] INFO gen_config.py:80: [System default] Setting repetition_penalty: 1.0 +[2024-05-08 13:48:47] INFO gen_config.py:80: [System default] Setting top_p: 0.95 +[2024-05-08 13:48:47] INFO gen_config.py:80: [System default] Setting mean_gen_len: 128 +[2024-05-08 13:48:47] INFO gen_config.py:80: [System default] Setting max_gen_len: 512 +[2024-05-08 13:48:47] INFO gen_config.py:80: [System default] Setting shift_fill_factor: 0.3 +[2024-05-08 13:48:47] INFO gen_config.py:335: Dumping configuration file to: /tmp/tmpn0y_4cix/mlc-chat-config.json +/home/msyu/workspace/venv/bin/python -m mlc_llm convert_weight /tmp/tmpom_oz7t5/repo --quantization q4f16_2 --source-format auto --output /tmp/tmpn0y_4cix +[2024-05-08 13:48:47] INFO auto_config.py:115: Found model configuration: /tmp/tmpom_oz7t5/repo/config.json +[2024-05-08 13:48:48] INFO auto_device.py:79: Found device: cuda:0 +[2024-05-08 13:48:49] INFO auto_device.py:88: Not found device: rocm:0 +[2024-05-08 13:48:49] INFO auto_device.py:88: Not found device: metal:0 +[2024-05-08 13:48:50] INFO auto_device.py:88: Not found device: vulkan:0 +[2024-05-08 13:48:51] INFO auto_device.py:79: Found device: opencl:0 +[2024-05-08 13:48:51] INFO auto_device.py:35: Using device: cuda:0 +[2024-05-08 13:48:51] INFO auto_weight.py:70: Finding weights in: /tmp/tmpom_oz7t5/repo +[2024-05-08 13:48:51] INFO auto_weight.py:136: Not found Huggingface PyTorch +[2024-05-08 13:48:51] INFO auto_weight.py:143: Found source weight format: huggingface-safetensor. Source configuration: /tmp/tmpom_oz7t5/repo/model.safetensors.index.json +[2024-05-08 13:48:51] INFO auto_weight.py:106: Using source weight configuration: /tmp/tmpom_oz7t5/repo/model.safetensors.index.json. Use `--source` to override. +[2024-05-08 13:48:51] INFO auto_weight.py:110: Using source weight format: huggingface-safetensor. Use `--source-format` to override. +[2024-05-08 13:48:51] INFO auto_config.py:153: Found model type: phi3. Use `--model-type` to override. +[2024-05-08 13:48:51] INFO phi3_model.py:53: context_window_size not found in config.json. Falling back to max_position_embeddings (131072) +[2024-05-08 13:48:51] INFO phi3_model.py:68: prefill_chunk_size defaults to 2048 +Weight conversion with arguments: + --config /tmp/tmpom_oz7t5/repo/config.json + --quantization GroupQuantize(name='q4f16_2', kind='group-quant', group_size=32, quantize_dtype='int4', storage_dtype='uint32', model_dtype='float16', linear_weight_layout='NK', quantize_embedding=False, quantize_final_fc=False, num_elem_per_storage=8, num_storage_per_group=4, max_int_value=7) + --model-type phi3 + --device cuda:0 + --source /tmp/tmpom_oz7t5/repo/model.safetensors.index.json + --source-format huggingface-safetensor + --output /tmp/tmpn0y_4cix +Start storing to cache /tmp/tmpn0y_4cix + 0%| | 0/195 [00:00