CSGHub icon indicating copy to clipboard operation
CSGHub copied to clipboard

使用 GPUStack 部署时下载 CSGHub 模型文件报错

Open reboot-cloud opened this issue 7 months ago • 5 comments

使用huggingface sdk 调用https://hub.opencsg.com/hf/api/models/Qwen/Qwen3-235B-A22B/revision/main?blobs=true接口没有返回文件大小,导致 gpustack 下载文件报错

reboot-cloud avatar May 12 '25 09:05 reboot-cloud

@KinglyWayne pls assign someone to work in on. Thanks

samchen8008 avatar May 13 '25 01:05 samchen8008

@reboot-cloud how did you download the model? it works for me with following script

(base) xiangzhen@james-host Downloads % cat download.py from huggingface_hub import snapshot_download snapshot_download(repo_id="Qwen/Qwen3-235B-A22B",endpoint="https://hub.opencsg.com/hf")

(base) xiangzhen@james-host Downloads % pip list|grep transformers transformers 4.45.2

(base) xiangzhen@james-host Downloads % pip list|grep huggingface huggingface-hub 0.26.1

Image

ganisback avatar May 13 '25 01:05 ganisback

just have a quck check, it seems csghub api missing some fields, like size pointerSize https://huggingface.co/api/models/Qwen/Qwen3-235B-A22B/revision/main?blobs=true

ganisback avatar May 13 '25 01:05 ganisback

@pulltheflower please have a look

Rader avatar May 13 '25 02:05 Rader

@Rader Got it.

@reboot-cloud Thank you for your feedback — it's very valuable. After investigation, we found that the issue was caused by our lack of support for the blobs parameter. We've made the necessary changes, and this problem will be fixed in our next release.

pulltheflower avatar May 13 '25 03:05 pulltheflower

@reboot-cloud Our SaaS has been updated, could you please try downloading again and see if it still gets this error. Thanks again for your report!

pulltheflower avatar May 19 '25 01:05 pulltheflower