openvino-dev-samples / chatglm3.openvino

This sample shows how to deploy ChatGLM3 using OpenVINO
17 stars 5 forks source link

Covert error #6

Open Hui-zju opened 5 months ago

Hui-zju commented 5 months ago

I tried to do model conversion in windows and encountered different errors in both attempts. The errors are reported as below, how can I fix these problems?

First: (openvino_env) C:\Users\dell\chatglm3.openvino>python convert.py --model_id F:/LLM/chatglm3-6b-modelscope/chatglm3-6b --precision int4 --output F:/chatglm3-6b-ov INFO:nncf:NNCF initialized successfully. Supported frameworks detected: torch, onnx, openvino ====Exporting IR===== Framework not specified. Using pt to export the model. Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████| 7/7 [06:13<00:00, 53.39s/it] Setting eos_token is not supported, use the default one. Setting pad_token is not supported, use the default one. Setting unk_token is not supported, use the default one. Setting eos_token is not supported, use the default one. Setting pad_token is not supported, use the default one. Setting unk_token is not supported, use the default one. Using the export variant default. Available variants are:

Second: (openvino_env) C:\Users\dell\chatglm3.openvino>python convert.py --model_id F:\LLM\chatglm3-6b-modelscope\chatglm3-6b --output F:\chatglm3-6b-OV INFO:nncf:NNCF initialized successfully. Supported frameworks detected: torch, onnx, openvino ====Exporting IR===== Framework not specified. Using pt to export the model. Loading checkpoint shards: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7/7 [06:38<00:00, 56.91s/it] Setting eos_token is not supported, use the default one. Setting pad_token is not supported, use the default one. Setting unk_token is not supported, use the default one. Setting eos_token is not supported, use the default one. Setting pad_token is not supported, use the default one. Setting unk_token is not supported, use the default one. Using the export variant default. Available variants are:

2681248863 commented 4 months ago

I have this problem,too

openvino-dev-samples commented 4 months ago

Hi sorry for late reply, is this issue still there ? Could you help to update the dependencies with latest requirements.txt and try it again ?

2681248863 commented 4 months ago

I have solved this problem, some errors can be ignored

Hi sorry for late reply, is this issue still there ? Could you help to update the dependencies with latest and try it again ?requirements.txt