Git Product home page Git Product logo

opencsgs / csghub Goto Github PK

View Code? Open in Web Editor NEW
1.1K 71.0 123.0 27.59 MB

CSGHub is an opensource large model assets platform just like on-premise huggingface which helps to manage datasets, model files, codes and more. CSGHub是一个开源、可信的大模型资产管理平台,可帮助用户治理LLM和LLM应用生命周期中涉及到的资产(数据集、模型文件、代码等)。CSGHub提供类似私有化的Huggingface功能,以类似OpenStack Glance管理虚拟机镜像、Harbor管理容器镜像以及Sonatype Nexus管理制品的方式,实现对LLM资产的管理。欢迎关注反馈和Star⭐️

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

License: Apache License 2.0

Dockerfile 0.04% Ruby 27.07% JavaScript 6.58% CSS 3.89% SCSS 2.00% Vue 55.82% HTML 4.40% Shell 0.20%
ai huggingface llm management-system models platform datasets

csghub's Issues

在腾讯云 ubuntu 系统中使用 docker compose 拉起项目,git server 不断重启

使用过程

使用项目 README.md 中的命令拉起 csghub 环境,git server 不断重启,日志显示 git server 的镜像刚刚启动进程就会被 kill 掉

image
image

系统环境

系统发行版

NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

系统架构

Linux VM-0-11-ubuntu 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

docker daemon 进程启动者的权限

root     1138500  1.2  0.1 5071680 128548 ?      Ssl  Jan02 273:42 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
ubuntu   3163390  0.0  0.0   6432   724 pts/0    S+   14:25   0:00 grep --color=auto dockerd

docker 版本

Client: Docker Engine - Community
 Version:           24.0.2
 API version:       1.43
 Go version:        go1.20.4
 Git commit:        cb74dfc
 Built:             Thu May 25 21:52:22 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          24.0.2
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.4
  Git commit:       659604f
  Built:            Thu May 25 21:52:22 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.21
  GitCommit:        3dce8eb055cbb6872793272b4f20ed16117344f8
 runc:
  Version:          1.1.7
  GitCommit:        v1.1.7-0-g860f061
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

docker 镜像源是否有proxy (否)

硬件信息(内存,cpu):

内存

image

cpu

image
image
image

是否是虚拟环境: 腾讯云

docker 无法查看opencsg-nginx-1组件的日志

通过docker-cmpose一件部署csghub后,通过docker logs -f opencsg-nginx-1 查看组件的日志,一直hung住;但是进入到容器中的nginx的日志目录下是可以日志的;不过没有docker logs方便。

Failed to download csghub artifact.

(base) samchen@bogon ~ % export SERVER_DOMAIN=172.20.7.104
(base) samchen@bogon ~ % curl -L https://raw.githubusercontent.com/OpenCSGs/csghub/main/all-in-one-CN.yml -o all-in-one-CN.yml
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:46 --:--:-- 0

0 0 0 0 0 0 0 0 --:--:-- 0:01:15 --:--:-- 0
curl: (28) Failed to connect to raw.githubusercontent.com port 443 after 75015 ms: Couldn't connect to server
(base) samchen@bogon ~ %
(base) samchen@bogon ~ %
(base) samchen@bogon ~ % ping raw.githubusercontent.com
PING raw.githubusercontent.com (182.43.124.6): 56 data bytes
64 bytes from 182.43.124.6: icmp_seq=0 ttl=53 time=45.702 ms
64 bytes from 182.43.124.6: icmp_seq=1 ttl=53 time=41.738 ms
64 bytes from 182.43.124.6: icmp_seq=2 ttl=53 time=42.661 ms
64 bytes from 182.43.124.6: icmp_seq=3 ttl=53 time=42.102 ms
64 bytes from 182.43.124.6: icmp_seq=4 ttl=53 time=42.455 ms
64 bytes from 182.43.124.6: icmp_seq=5 ttl=53 time=36.326 ms
64 bytes from 182.43.124.6: icmp_seq=6 ttl=53 time=35.578 ms
64 bytes from 182.43.124.6: icmp_seq=7 ttl=53 time=44.073 ms
^C
--- raw.githubusercontent.com ping statistics ---
8 packets transmitted, 8 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 35.578/41.329/45.702/3.327 ms

记录快速安装时遇到的一些问题,方便大家交流

1.针对快速部署README中可以注明下支持docker的版本,我用的docker是20.x所以compose中不支持bool类型报错,还有docker compose -f命令报错;
2.部署后如果浏览器中直接输入ip地址,则会打不开csghub界面。需要docker ps找到对应端口号,然后输入ip:端口号即可打开。
后续可以说明的再详细点,以减少与技术人员沟通频率,提高效率。

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.