Coder Social home page Coder Social logo

opencsgs / csghub-server Goto Github PK

View Code? Open in Web Editor NEW
65.0 65.0 16.0 29.98 MB

CSGHub Server is the backend server for CSGHub which helps user to manage datasets, model files, codes and more. CSGHub Server是开源大模型资产管理平台CSGHub的服务端部分的开源项目,提供基于REST API的模型和数据集等大模型资产管理功能。欢迎关注反馈和Star⭐️

Home Page: https://opencsg.com/models

License: Apache License 2.0

Dockerfile 0.06% Go 95.39% Shell 0.83% PLpgSQL 0.30% Python 3.42%
ai datasets golang huggingface llm models platform

csghub-server's People

Contributors

ganisback avatar kinglywayne avatar lwf0019 avatar pulltheflower avatar rader avatar seanhh86 avatar wanghh2000 avatar wayneliu0019 avatar zhanglongchun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

csghub-server's Issues

服务无法重启

服务关机后无法重启,一直卡在:
[root@localhost all_in_one]# docker logs 166aee40504a
Waiting for Gitea service to be ready...

需要删掉启动目录下gitdata,gitlogs,在执行启动才能成功,但是此操作数据会丢失。

cannot pass parameter endpoint by cli

  1. endpoint can not be use by cli parameter
  2. file_download error for repo type of dataset
Traceback (most recent call last):
  File "/Users/hhwang/code/jihulab/opencsg/csghub-sdk/test.py", line 21, in <module>
    result = snapshot_download(repo_id=repoid, cache_dir=cachedir, endpoint=ep, token=my_token, repo_type=repotype)
  File "/Users/hhwang/code/jihulab/opencsg/csghub-sdk/pycsghub/snapshot_download.py", line 61, in snapshot_download
    repo_info = utils.get_repo_info(repo_id,
  File "/Users/hhwang/code/jihulab/opencsg/csghub-sdk/pycsghub/utils.py", line 149, in get_repo_info
    return method(
  File "/Users/hhwang/code/jihulab/opencsg/csghub-sdk/pycsghub/utils.py", line 355, in model_info
    r.raise_for_status()
  File "/Users/hhwang/anaconda3/envs/hubsdk/lib/python3.10/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://hub-stg.opencsg.com/hf/api/models/wanghh2003/myds1/revision/main

服务端镜像启动报错-无法加载 duckdb extension httpfs

在离线环境下运行服务端镜像,报错如下:
init logger, level: INFO, format: json
all_in_one-csghub_server-1 | {"time":"2024-04-27T06:49:16.456842199Z","level":"INFO","msg":"FIFOScheduler run started"}
all_in_one-csghub_server-1 | {"time":"2024-04-27T06:49:16.457924209Z","level":"ERROR","msg":"refresh status all failed","error":"Get "http://localhost:8082/status-all\": dial tcp [::1]:8082: connect: connection refused"}
all_in_one-csghub_server-1 | Error: failed to init router: error creating dataset viewer handler:failed to create parquet reader,cause:failed to setup s3 for duckdb, cause:IO Error: Failed to download extension "httpfs" at URL "http://extensions.duckdb.org/v0.9.2/linux_amd64/httpfs.duckdb_extension.gz"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.