OpenCSGs / csghub

CSGHub is an open-source large model platform just like on-premise version of Hugging Face. You can easily manage models and datasets, deploy model applications and setup model finetune or inference jobs with user interface. CSGHub also provides Python SDK with full compatibility of hf sdk. Join us together to build a safer and more open platform⭐️
https://opencsg.com
2.97k stars 458 forks source link

all in one installed but failed to sync model from opencsg.com #607

Open Rader opened 1 month ago

Rader commented 1 month ago

here is the request:

curl 'http://[server_ip]/api/v1/models/CSG_AIWizards/zavychromaxl/mirror_from_saas' \
  -X 'POST' \
  -H 'Accept: */*' \
  -H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1dWlkIjoiZWJlOTRlMzAtMDRmMS00MTFmLTlmZDktZTMxMDU3MDgxZTg1IiwiY3VycmVudF91c2VyIjoib3BlbmNzZyIsImlzcyI6Ik9wZW5DU0ciLCJleHAiOjE3MjYxMzc1MzF9.VQ9ZeXjI3qXYegHxZgcqVGjv7UCsRLGD9XjjEglEx9c' \
  -H 'Content-Length: 0' \
  -H 'Content-Type: application/json' \
  -H 'Cookie: locale=en; casdoor_session_id=1c0e9caa50504083f320fcd3ec8f0e59; user_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1dWlkIjoiZWJlOTRlMzAtMDRmMS00MTFmLTlmZDktZTMxMDU3MDgxZTg1IiwiY3VycmVudF91c2VyIjoib3BlbmNzZyIsImlzcyI6Ik9wZW5DU0ciLCJleHAiOjE3MjYxMzc1MzF9.VQ9ZeXjI3qXYegHxZgcqVGjv7UCsRLGD9XjjEglEx9c; can_change_username=false; login_identity=ebe94e30-04f1-411f-9fd9-e31057081e85; current_user=opencsg; admin_user=true; _your_app_session=QLfEcnNaXdNhcahuXl2TAoqHnBPBSiWf1A%2B3SOmShHMTyT7glAaBWHGpxV2MPZiWCvODZzj8EiWvyMdfL4wG4dN1HwWp88NvSF0X0mPev16%2BdOo%2F2DF1tmrhrdzsFx6ypejpz0kPIpYiAgwLlDR4k6RfE%2FCNpwvSAcgCm%2Fccgn84czWLVsqbqAQrXXTeU%2BHCfwR4aCwApxuxAJGI45eBKw7CHqu19xyIfaxaO3cLkC%2BhCuiy4MW1ZodvIzdWOkcV0ZGD7zn%2Bo7hweqDDpxA%2Ba%2FMlu8EF9f2hDj6wUMP1zc8i7ZJ0XaB7Olcyfz1XSrk%3D--8DLoN9nyTC%2ByQVrA--v%2F3McXqk8Eqvjy7OK32csg%3D%3D' \
  -H 'DNT: 1' \
  -H 'Origin: http://[server_ip]/' \
  -H 'Proxy-Connection: keep-alive' \
  -H 'Referer: http://[server_ip]//models/CSG_AIWizards/zavychromaxl/files/main' \
  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0' \
  --insecure

response from remote server:

{ "msg": "failed to create pull mirror in mirror server: user does not exist [uid: 0, name: models_CSG_AIWizards, keyid: 0]" }

image