xtuner icon indicating copy to clipboard operation
xtuner copied to clipboard

InternLM2Converter requires the protobuf library but it was not found in your environment.

Open yiyexy opened this issue 2 years ago • 4 comments

I met follow error, when I merge llm-7b adapter.

image

But I previously successfully merged llm-20b.

yiyexy avatar Jan 25 '24 03:01 yiyexy

The problem had be solved after pip install protobuf. But I still want to know the reason.

yiyexy avatar Jan 25 '24 03:01 yiyexy

protobuf is required by other thrid-party library (e.g., transformers) in some cases.

In my option, the version management of these libraries should be placed in the upstream repository, not in the xtuner.

Nevertheless, thanks again for reporting this issue!

LZHgrla avatar Jan 25 '24 07:01 LZHgrla

socket.timeout: timed out urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /internlm/internlm2_5-7b-chat/resolve/main/tf_model.h5 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000028E2CDC3340>, 'Connection to huggingface.co timed out. (connect timeout=10)')) requests.exceptions.ConnectTimeout: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /internlm/internlm2_5-7b-chat/resolve/main/tf_model.h5 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000028E2CDC3340>, 'Connection to huggingface.co timed out. (connect timeout=10)'))"), '(Request ID: c12744c4-670d-4484-9d02-d7f8ff417168)')

hellocrystal avatar Oct 19 '24 15:10 hellocrystal

socket.timeout: timed out urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /internlm/internlm2_5-7b-chat/resolve/main/tf_model.h5 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000028E2CDC3340>, 'Connection to huggingface.co timed out. (connect timeout=10)')) requests.exceptions.ConnectTimeout: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /internlm/internlm2_5-7b-chat/resolve/main/tf_model.h5 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000028E2CDC3340>, 'Connection to huggingface.co timed out. (connect timeout=10)'))"), '(Request ID: c12744c4-670d-4484-9d02-d7f8ff417168)')

hellocrystal avatar Oct 19 '24 15:10 hellocrystal