diff --git "a/logs.txt" "b/logs.txt" new file mode 100644--- /dev/null +++ "b/logs.txt" @@ -0,0 +1,351 @@ +python -m mlc_chat gen_config /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium --quantization q0f16 --conv-template gpt2 --output /tmp/tmp3xws4nia +[2023-12-28 08:14:09] INFO auto_config.py:115: Found model configuration: /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium/config.json +[2023-12-28 08:14:09] INFO auto_config.py:151: Found model type: gpt2. Use `--model-type` to override. +[2023-12-28 08:14:09] INFO gpt2_model.py:44: context_window_size not found in config.json. Falling back to n_positions (1024) +[2023-12-28 08:14:09] INFO gen_config.py:115: [generation_config.json] Setting bos_token_id: 50256 +[2023-12-28 08:14:09] INFO gen_config.py:115: [generation_config.json] Setting eos_token_id: 50256 +[2023-12-28 08:14:09] INFO gen_config.py:129: Not found tokenizer config: /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium/tokenizer.model +[2023-12-28 08:14:09] INFO gen_config.py:127: Found tokenizer config: /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium/tokenizer.json. Copying to /tmp/tmp3xws4nia/tokenizer.json +[2023-12-28 08:14:09] INFO gen_config.py:127: Found tokenizer config: /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium/vocab.json. Copying to /tmp/tmp3xws4nia/vocab.json +[2023-12-28 08:14:09] INFO gen_config.py:127: Found tokenizer config: /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium/merges.txt. Copying to /tmp/tmp3xws4nia/merges.txt +[2023-12-28 08:14:09] INFO gen_config.py:129: Not found tokenizer config: /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium/added_tokens.json +[2023-12-28 08:14:09] INFO gen_config.py:129: Not found tokenizer config: /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium/tokenizer_config.json +[2023-12-28 08:14:09] INFO gen_config.py:69: [System default] Setting pad_token_id: 0 +[2023-12-28 08:14:09] INFO gen_config.py:69: [System default] Setting temperature: 0.7 +[2023-12-28 08:14:09] INFO gen_config.py:69: [System default] Setting repetition_penalty: 1.0 +[2023-12-28 08:14:09] INFO gen_config.py:69: [System default] Setting top_p: 0.95 +[2023-12-28 08:14:09] INFO gen_config.py:69: [System default] Setting mean_gen_len: 128 +[2023-12-28 08:14:09] INFO gen_config.py:69: [System default] Setting max_gen_len: 512 +[2023-12-28 08:14:09] INFO gen_config.py:69: [System default] Setting shift_fill_factor: 0.3 +[2023-12-28 08:14:09] INFO gen_config.py:157: Dumping configuration file to: /tmp/tmp3xws4nia/mlc-chat-config.json +python -m mlc_chat convert_weight /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium --quantization q0f16 --source-format auto --output /tmp/tmp3xws4nia +[2023-12-28 08:14:10] INFO auto_config.py:115: Found model configuration: /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium/config.json +[2023-12-28 08:14:10] INFO auto_device.py:75: Found device: cuda:0 +[2023-12-28 08:14:10] INFO auto_device.py:75: Found device: cuda:1 +[2023-12-28 08:14:10] INFO auto_device.py:84: Not found device: rocm:0 +[2023-12-28 08:14:10] INFO auto_device.py:84: Not found device: metal:0 +[2023-12-28 08:14:11] INFO auto_device.py:75: Found device: vulkan:0 +[2023-12-28 08:14:11] INFO auto_device.py:75: Found device: vulkan:1 +[2023-12-28 08:14:11] INFO auto_device.py:75: Found device: vulkan:2 +[2023-12-28 08:14:11] INFO auto_device.py:84: Not found device: opencl:0 +[2023-12-28 08:14:11] INFO auto_device.py:33: Using device: cuda:0 +[2023-12-28 08:14:11] INFO auto_weight.py:70: Finding weights in: /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium +[2023-12-28 08:14:11] INFO auto_weight.py:129: Found source weight format: huggingface-torch. Source configuration: /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium/pytorch_model.bin +[2023-12-28 08:14:11] INFO auto_weight.py:149: Not found Huggingface Safetensor +[2023-12-28 08:14:11] INFO auto_weight.py:106: Using source weight configuration: /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium/pytorch_model.bin. Use `--source` to override. +[2023-12-28 08:14:11] INFO auto_weight.py:110: Using source weight format: huggingface-torch. Use `--source-format` to override. +[2023-12-28 08:14:11] INFO auto_config.py:151: Found model type: gpt2. Use `--model-type` to override. +[2023-12-28 08:14:11] INFO gpt2_model.py:44: context_window_size not found in config.json. Falling back to n_positions (1024) +[2023-12-28 08:14:13] INFO huggingface_loader.py:169: Loading HF parameters from: /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium/pytorch_model.bin +Weight conversion with arguments: + --config /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium/config.json + --quantization NoQuantize(name='q0f16', kind='no-quant', model_dtype='float16') + --model-type gpt2 + --device cuda:0 + --source /ssd1/cfruan/mlc-llm-repos/mlc-llm-head/dist/models/gpt2-medium/pytorch_model.bin + --source-format huggingface-torch + --output /tmp/tmp3xws4nia + 0%| | 0/293 [00:00