Git Product home page Git Product logo

opencsgs / csghub Goto Github PK

View Code? Open in Web Editor NEW
1.9K 1.9K 280.0 27.84 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 24.00% JavaScript 7.09% CSS 3.88% SCSS 1.87% Vue 58.65% HTML 4.29% Shell 0.19%
ai datasets huggingface llm management-system models platform

csghub's Issues

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:端口号即可打开。
后续可以说明的再详细点,以减少与技术人员沟通频率,提高效率。

安装后无法启动,原因是portal服务在报错

docker ps 如下
docker

错误日志内容
rails aborted!
ThreadError: can't create Thread: Operation not permitted (ThreadError)
/usr/local/bundle/gems/debug-1.8.0/lib/debug/session.rb:179:in initialize' /usr/local/bundle/gems/debug-1.8.0/lib/debug/session.rb:179:in new'
/usr/local/bundle/gems/debug-1.8.0/lib/debug/session.rb:179:in activate' /usr/local/bundle/gems/debug-1.8.0/lib/debug/session.rb:2261:in block in singleton class'
/usr/local/bundle/gems/debug-1.8.0/lib/debug/session.rb:2194:in start' /usr/local/bundle/gems/debug-1.8.0/lib/debug.rb:8:in

'
internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb:37:in require' <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in require'
/usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require' /myapp/config/application.rb:7:in '
/myapp/Rakefile:4:in require_relative' /myapp/Rakefile:4:in '
/usr/local/bundle/gems/railties-7.0.8/lib/rails/commands/rake/rake_command.rb:20:in block in perform' /usr/local/bundle/gems/railties-7.0.8/lib/rails/commands/rake/rake_command.rb:18:in perform'
/usr/local/bundle/gems/railties-7.0.8/lib/rails/command.rb:51:in invoke' /usr/local/bundle/gems/railties-7.0.8/lib/rails/commands.rb:18:in '
internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb:37:in require' <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in require'
/usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require' bin/rails:4:in '
(See full trace by running task with --trace)
感谢~~

启动CSGHUB,页面提示加载模型数据报错

容器状态, git server为unhealth状态:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b0b74aa6738d registry.cn-beijing.aliyuncs.com/opencsg_public/csghub_server:latest "/starhub-bin/script…" 5 minutes ago Up 5 minutes 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp all_in_one-csghub_server-1
c749f8eedab2 registry.cn-beijing.aliyuncs.com/opencsg_public/csghub_portal:latest "bash -c 'bundle exe…" 5 minutes ago Up 5 minutes 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp all_in_one-csghub_portal-1
c3a9250fa4bd registry.cn-beijing.aliyuncs.com/opencsg_public/csghub_git:latest "/opt/bitnami/script…" 5 minutes ago Up 5 minutes (unhealthy) 0.0.0.0:2222->2222/tcp, :::2222->2222/tcp, 0.0.0.0:3001->3001/tcp, :::3001->3001/tcp, 3000/tcp all_in_one-gitea-1
9449fa12e891 registry.cn-beijing.aliyuncs.com/opencsg_public/csghub_postgres:latest "docker-entrypoint.s…" 5 minutes ago Up 5 minutes (healthy) 0.0.0.0:5433->5432/tcp, :::5433->5432/tcp all_in_one-postgres-1
53b9c62d17a2 registry.cn-beijing.aliyuncs.com/opencsg_public/csghub_nginx:latest "/docker-entrypoint.…" 5 minutes ago Up 5 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp all_in_one-nginx-1
3889ed82475b registry.cn-beijing.aliyuncs.com/opencsg_public/csghub_minio:latest "/opt/bitnami/script…" 5 minutes ago Up 5 minutes 0.0.0.0:9000-9001->9000-9001/tcp, :::9000-9001->9000-9001/tcp all_in_one-minio-1

csghub-git 日志:
gitea 08:59:21.13 INFO ==> Gitea installation finished
gitea 08:59:21.13 DEBUG ==> Setting APP_NAME to 'git' in Gitea configuration
gitea 08:59:21.14 DEBUG ==> Setting RUN_USER to 'git' in Gitea configuration
gitea 08:59:21.15 DEBUG ==> Setting RUN_MODE to 'prod' in Gitea configuration
gitea 08:59:21.16 DEBUG ==> Setting database.DB_TYPE to 'postgres' in Gitea configuration
gitea 08:59:21.16 DEBUG ==> Setting database.HOST to 'postgres:5432' in Gitea configuration
gitea 08:59:21.17 DEBUG ==> Setting database.NAME to 'gitea' in Gitea configuration
gitea 08:59:21.18 DEBUG ==> Setting database.USER to 'postgres' in Gitea configuration
gitea 08:59:21.19 DEBUG ==> Setting database.PASSWD to 'sdfa23Sh!322' in Gitea configuration
gitea 08:59:21.19 DEBUG ==> Setting database.SSL_MODE to 'disable' in Gitea configuration
gitea 08:59:21.20 DEBUG ==> Setting server.DOMAIN to '192.168.0.41/gitserver' in Gitea configuration
gitea 08:59:21.21 DEBUG ==> Setting server.PROTOCOL to 'http' in Gitea configuration
gitea 08:59:21.21 DEBUG ==> Setting server.ROOT_URL to 'http://192.168.0.41/gitserver' in Gitea configuration
gitea 08:59:21.22 DEBUG ==> Setting server.SSH_DOMAIN to '192.168.0.41' in Gitea configuration
gitea 08:59:21.23 DEBUG ==> Setting server.SSH_PORT to '2222' in Gitea configuration
gitea 08:59:21.23 DEBUG ==> Setting server.SSH_LISTEN_PORT to '2222' in Gitea configuration
gitea 08:59:21.24 DEBUG ==> Setting server.HTTP_PORT to '3001' in Gitea configuration
gitea 08:59:21.25 DEBUG ==> Setting log.ROOT_PATH to '/opt/bitnami/gitea/tmp/log' in Gitea configuration
gitea 08:59:21.25 DEBUG ==> Setting repository.ROOT to '/opt/bitnami/gitea/data/git/repositories' in Gitea configuration
gitea 08:59:21.26 DEBUG ==> Setting security.PASSWORD_HASH_ALGO to 'pbkdf2' in Gitea configuration
gitea 08:59:21.27 DEBUG ==> Setting mailer.ENABLED to 'false' in Gitea configuration
gitea 08:59:21.28 DEBUG ==> Setting lfs.PATH to '/opt/bitnami/gitea/data/lfs' in Gitea configuration
gitea 08:59:21.28 DEBUG ==> Setting lfs.STORAGE_TYPE to 'minio' in Gitea configuration
gitea 08:59:21.29 DEBUG ==> Setting lfs.MINIO_ACCESS_KEY_ID to 'admin' in Gitea configuration
gitea 08:59:21.30 DEBUG ==> Setting lfs.MINIO_SECRET_ACCESS_KEY to 'Password_123' in Gitea configuration
gitea 08:59:21.30 DEBUG ==> Setting lfs.MINIO_ENDPOINT to 'minio:9000' in Gitea configuration
gitea 08:59:21.31 DEBUG ==> Setting lfs.MINIO_BUCKET to 'opencsg-server-lfs' in Gitea configuration
gitea 08:59:21.32 DEBUG ==> Setting lfs.MINIO_LOCATION to 'cn-beijing' in Gitea configuration
gitea 08:59:21.32 DEBUG ==> Setting lfs.MINIO_USE_SSL to 'false' in Gitea configuration
gitea 08:59:21.33 DEBUG ==> Setting service.DEFAULT_ALLOW_CREATE_ORGANIZATION to 'true' in Gitea configuration
gitea 08:59:21.34 DEBUG ==> Setting service.DISABLE_REGISTRATION to 'false' in Gitea configuration
gitea 08:59:21.34 DEBUG ==> Setting ssh.minimum_key_sizes.RSA to '1023' in Gitea configuration
gitea 08:59:21.35 INFO ==> Persisting Gitea installation
gitea 08:59:21.38 INFO ==> ** Gitea setup finished! **

gitea 08:59:21.38 INFO ==> ** Starting Gitea **
2024/06/12 08:59:21 .../setting/security.go:166:loadSecurityFrom() [W] Enabling Query API Auth tokens is not recommended. DISABLE_QUERY_AUTH_TOKEN will default to true in gitea 1.23 and will be removed in gitea 1.24.
2024/06/12 08:59:21 cmd/web.go:242:runWeb() [I] Starting Gitea on PID: 1
2024/06/12 08:59:21 cmd/web.go:111:showWebStartupMessage() [I] Gitea version: 34105e75f built with GNU Make 4.3, go1.21.5 : bindata
2024/06/12 08:59:21 cmd/web.go:112:showWebStartupMessage() [I] * RunMode: prod
2024/06/12 08:59:21 cmd/web.go:113:showWebStartupMessage() [I] * AppPath: /opt/bitnami/gitea/bin/gitea
2024/06/12 08:59:21 cmd/web.go:114:showWebStartupMessage() [I] * WorkPath: /opt/bitnami/gitea
2024/06/12 08:59:21 cmd/web.go:115:showWebStartupMessage() [I] * CustomPath: /opt/bitnami/gitea/custom
2024/06/12 08:59:21 cmd/web.go:116:showWebStartupMessage() [I] * ConfigFile: /opt/bitnami/gitea/custom/conf/app.ini
2024/06/12 08:59:21 cmd/web.go:117:showWebStartupMessage() [I] Prepare to run install page
2024/06/12 08:59:21 cmd/web.go:304:listen() [I] Listen: http://0.0.0.0:3001/gitserver
2024/06/12 08:59:21 cmd/web.go:308:listen() [I] AppURL(ROOT_URL): http://192.168.0.41/gitserver/
2024/06/12 08:59:21 ...s/graceful/server.go:50:NewServer() [I] Starting new Web server: tcp:0.0.0.0:3001 on PID: 1

csghub-server 日志:
Waiting for Gitea service to be ready...

csghub-portal 日志报错:

Started GET "/internal_api/codes?page=1&per_page=16&search=&sort=trending&task_tag=&framework_tag=&language_tag=&license_tag=" for 192.168.112.18 at 2024-06-12 09:00:06 +0000
Cannot render console from 192.168.112.18! Allowed networks: 127.0.0.0/127.255.255.255, ::1
Processing by InternalApi::CodesController#index as /
Parameters: {"page"=>"1", "per_page"=>"16", "search"=>"", "sort"=>"trending", "task_tag"=>"", "framework_tag"=>"", "language_tag"=>"", "license_tag"=>""}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."login_identity" IS NULL LIMIT $1 [["LIMIT", 1]]
↳ app/helpers/sessions_helper.rb:11:in current_user' CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."login_identity" IS NULL LIMIT $1 [["LIMIT", 1]] ↳ app/helpers/sessions_helper.rb:11:in current_user'
ETHON: performed EASY effective_url=http://csghub_server:8080/api/v1/codes?page=1&per=16&sort=trending response_code=502 return_code=ok total_time=0.337157
CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."login_identity" IS NULL LIMIT $1 [["LIMIT", 1]]
↳ app/helpers/sessions_helper.rb:11:in current_user' CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."login_identity" IS NULL LIMIT $1 [["LIMIT", 1]] ↳ app/helpers/sessions_helper.rb:11:in current_user'
CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."login_identity" IS NULL LIMIT $1 [["LIMIT", 1]]
↳ app/helpers/sessions_helper.rb:11:in current_user' CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."login_identity" IS NULL LIMIT $1 [["LIMIT", 1]] ↳ app/helpers/sessions_helper.rb:11:in current_user'
TRANSACTION (0.1ms) BEGIN
↳ app/controllers/application_controller.rb:54:in log_error' ErrorLog Create (0.4ms) INSERT INTO "error_logs" ("request", "payload", "user_info", "message", "created_at", "updated_at", "backtrace") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["request", "GET /internal_api/codes"], ["payload", "{\"page\"=>\"1\", \"per_page\"=>\"16\", \"search\"=>\"\", \"sort\"=>\"trending\", \"task_tag\"=>\"\", \"framework_tag\"=>\"\", \"language_tag\"=>\"\", \"license_tag\"=>\"\", \"controller\"=>\"internal_api/codes\", \"action\"=>\"index\"}"], ["user_info", " / / / "], ["message", ""], ["created_at", "2024-06-12 09:00:06.656285"], ["updated_at", "2024-06-12 09:00:06.656285"], ["backtrace", "[\"/myapp/app/services/starhub/shared_repo_apis.rb:52:in get_repos'", "/myapp/app/services/starhub/code_apis.rb:16:in get_codes'\", \"/myapp/app/controllers/internal_api/codes_controller.rb:10:in index'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_controller/metal/basic_implicit_render.rb:6:in send_action'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/abstract_controller/base.rb:215:in process_action'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_controller/metal/rendering.rb:165:in process_action'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/abstract_controller/callbacks.rb:234:in block in process_action'", "/usr/local/bundle/gems/activesupport-7.0.8/lib/active_support/callbacks.rb:118:in block in run_callbacks'\", \"/usr/local/bundle/gems/actiontext-7.0.8/lib/action_text/rendering.rb:20:in with_renderer'", "/usr/local/bundle/gems/actiontext-7.0.8/lib/action_text/engine.rb:69:in block (4 levels) in <class:Engine>'\", \"/usr/local/bundle/gems/activesupport-7.0.8/lib/active_support/callbacks.rb:127:in instance_exec'", "/usr/local/bundle/gems/activesupport-7.0.8/lib/active_support/callbacks.rb:127:in block in run_callbacks'\", \"/usr/local/bundle/gems/activesupport-7.0.8/lib/active_support/callbacks.rb:138:in run_callbacks'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/abstract_controller/callbacks.rb:233:in process_action'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/action_controller/metal/rescue.rb:23:in process_action'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_controller/metal/instrumentation.rb:67:in block in process_action'\", \"/usr/local/bundle/gems/activesupport-7.0.8/lib/active_support/notifications.rb:206:in block in instrument'", "/usr/local/bundle/gems/activesupport-7.0.8/lib/active_support/notifications/instrumenter.rb:24:in instrument'\", \"/usr/local/bundle/gems/activesupport-7.0.8/lib/active_support/notifications.rb:206:in instrument'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_controller/metal/instrumentation.rb:66:in process_action'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/action_controller/metal/params_wrapper.rb:259:in process_action'", "/usr/local/bundle/gems/activerecord-7.0.8/lib/active_record/railties/controller_runtime.rb:27:in process_action'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/abstract_controller/base.rb:151:in process'", "/usr/local/bundle/gems/actionview-7.0.8/lib/action_view/rendering.rb:39:in process'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/action_controller/metal.rb:188:in dispatch'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_controller/metal.rb:251:in dispatch'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/routing/route_set.rb:49:in dispatch'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/routing/route_set.rb:32:in serve'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/journey/router.rb:50:in block in serve'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/journey/router.rb:32:in each'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/journey/router.rb:32:in serve'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/routing/route_set.rb:852:in call'\", \"/usr/local/bundle/gems/rack-2.2.8/lib/rack/tempfile_reaper.rb:15:in call'", "/usr/local/bundle/gems/rack-2.2.8/lib/rack/etag.rb:27:in call'\", \"/usr/local/bundle/gems/rack-2.2.8/lib/rack/conditional_get.rb:27:in call'", "/usr/local/bundle/gems/rack-2.2.8/lib/rack/head.rb:12:in call'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/http/permissions_policy.rb:38:in call'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/http/content_security_policy.rb:36:in call'\", \"/usr/local/bundle/gems/rack-2.2.8/lib/rack/session/abstract/id.rb:266:in context'", "/usr/local/bundle/gems/rack-2.2.8/lib/rack/session/abstract/id.rb:260:in call'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/middleware/cookies.rb:704:in call'", "/usr/local/bundle/gems/activerecord-7.0.8/lib/active_record/migration.rb:638:in call'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/middleware/callbacks.rb:27:in block in call'", "/usr/local/bundle/gems/activesupport-7.0.8/lib/active_support/callbacks.rb:99:in run_callbacks'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/middleware/callbacks.rb:26:in call'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/middleware/executor.rb:14:in call'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/middleware/actionable_exceptions.rb:17:in call'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/middleware/debug_exceptions.rb:28:in call'\", \"/usr/local/bundle/gems/web-console-4.2.1/lib/web_console/middleware.rb:132:in call_app'", "/usr/local/bundle/gems/web-console-4.2.1/lib/web_console/middleware.rb:19:in block in call'\", \"/usr/local/bundle/gems/web-console-4.2.1/lib/web_console/middleware.rb:17:in catch'", "/usr/local/bundle/gems/web-console-4.2.1/lib/web_console/middleware.rb:17:in call'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/middleware/show_exceptions.rb:29:in call'", "/usr/local/bundle/gems/railties-7.0.8/lib/rails/rack/logger.rb:40:in call_app'\", \"/usr/local/bundle/gems/railties-7.0.8/lib/rails/rack/logger.rb:25:in block in call'", "/usr/local/bundle/gems/activesupport-7.0.8/lib/active_support/tagged_logging.rb:99:in block in tagged'\", \"/usr/local/bundle/gems/activesupport-7.0.8/lib/active_support/tagged_logging.rb:37:in tagged'", "/usr/local/bundle/gems/activesupport-7.0.8/lib/active_support/tagged_logging.rb:99:in tagged'\", \"/usr/local/bundle/gems/railties-7.0.8/lib/rails/rack/logger.rb:25:in call'", "/usr/local/bundle/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in call'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/middleware/remote_ip.rb:93:in call'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/middleware/request_id.rb:26:in call'\", \"/usr/local/bundle/gems/rack-2.2.8/lib/rack/method_override.rb:24:in call'", "/usr/local/bundle/gems/rack-2.2.8/lib/rack/runtime.rb:22:in call'\", \"/usr/local/bundle/gems/activesupport-7.0.8/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in call'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/middleware/server_timing.rb:61:in block in call'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/middleware/server_timing.rb:26:in collect_events'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/middleware/server_timing.rb:60:in call'\", \"/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/middleware/executor.rb:14:in call'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/middleware/static.rb:23:in call'\", \"/usr/local/bundle/gems/rack-2.2.8/lib/rack/sendfile.rb:110:in call'", "/usr/local/bundle/gems/actionpack-7.0.8/lib/action_dispatch/middleware/host_authorization.rb:138:in call'\", \"/usr/local/bundle/gems/railties-7.0.8/lib/rails/engine.rb:530:in call'", "/usr/local/bundle/gems/puma-5.6.7/lib/puma/configuration.rb:252:in call'\", \"/usr/local/bundle/gems/puma-5.6.7/lib/puma/request.rb:77:in block in handle_request'", "/usr/local/bundle/gems/puma-5.6.7/lib/puma/thread_pool.rb:340:in with_force_shutdown'\", \"/usr/local/bundle/gems/puma-5.6.7/lib/puma/request.rb:76:in handle_request'", "/usr/local/bundle/gems/puma-5.6.7/lib/puma/server.rb:443:in process_client'\", \"/usr/local/bundle/gems/puma-5.6.7/lib/puma/thread_pool.rb:147:in block in spawn_thread'"]"]]
↳ app/controllers/application_controller.rb:54:in log_error' TRANSACTION (1.5ms) COMMIT ↳ app/controllers/application_controller.rb:54:in log_error'
Completed 500 Internal Server Error in 347ms (Views: 0.1ms | ActiveRecord: 2.2ms | Allocations: 8830)

【BUG】组织数据集无法相互访问

问题描述

部署方式使用:docker compose -f all-in-one.yml up -d

  1. 组织中的任意一个用户创建数据集(所有者为组织),组织内其他用户不可见
  2. 点击组织首页中,创建组织的用户同样看不到任何数据集
  3. 设置public后 所有用户均可见(包含未登录用户),失去组织的约束

在腾讯云 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

是否是虚拟环境: 腾讯云

私有化部署如何对接 K8S GPU/GCU 的平台?

当使用 all-in-one.yaml 清单文件以 docker compose 的方式将其 Running 起来。然后新建 应用空间 时发现:“空间云资源” 选项为空。对比了社区平台的这个选项 ,发现社区平台的该选项可以提供“空闲的CPU” 资源,及 NVIDIA T4 的一些资源。对于该选项有没有一些文档说明呢?私有化部署时应该如何对接 GPU/GCU 的集群平台呢?

传神社区Space上传部署失败

Space链接:https://opencsg.com/spaces/fanchile/whisper_test/files/main
Gradio本地可正常运行,本地python版本为3.12.3,gradio版本为4.36.1

控制台信息如下

0: Pod is pending due to reason: Unschedulable, message: 0/2 nodes are available: 1 Insufficient cpu, 1 Insufficient memory. preemption: 0/2 nodes are available: 2 No preemption victims found for incoming pod..

1: {"error":"Pod is pending due to reason: Unschedulable, message: 0/2 nodes are available: 1 Insufficient cpu, 1 Insufficient memory. preemption: 0/2 nodes are available: 2 No preemption victims found for incoming pod.."}

日志如下

0: {"stream":"Step 1/21 : FROM alpine/git:2.36.2 AS lfs"}

1: {"stream":"\n"}
{"stream":" ---\u003e b80d2cac43e4\n"}
{"stream":"Step 2/21 : WORKDIR /app"}
{"stream":"\n"}
{"stream":" ---\u003e Using cache\n"}
{"stream":" ---\u003e 50a99510bcf0\n"}
{"stream":"Step 3/21 : COPY --link .lfs.opencsg.co ."}
{"stream":"\n"}

2:
{"stream":" ---\u003e Using cache\n"}
{"stream":" ---\u003e ebd723babd45\n"}

3: {"stream":"Step 4/21 : COPY --link ./SPACE_REPOSITORY ./"}
{"stream":"\n"}
{"stream":" ---\u003e 5b80178f6f9a\n"}
{"stream":"Step 5/21 : RUN git init \u0026\u0026 git remote add origin $(cat ./SPACE_REPOSITORY) \u0026\u0026 git add --all

4: \u0026\u0026 git config user.email "[email protected]" \u0026\u0026 git config user.name "Name" \u0026\u0026 git commit -m "lfs" \u0026\u0026 git lfs pull \u0026\u0026 rm -rf .git .gitattributes"}
{"stream":"\n"}
{"s

5: tream":" ---\u003e Running in 45079c89f91b\n"}
{"stream":"\u001b[91mhint: Using 'master' as the name for the initial branch. This default branch name\nhint: is subject to change. To configure the initial branch name to use in all\nhint: of your new reposit

6: ories, which will suppress this warning, call:\nhint: \nhint: \tgit config --global init.defaultBranch \u003cname\u003e\nhint: \nhint: Names commonly chosen instead of 'master' are 'main', 'trunk' and\nhint: 'development'. The just-created branch can be re

7: named via this command:\n\u001b[0m"}
{"stream":"\u001b[91mhint: \nhint: \tgit branch -m \u003cname\u003e\n\u001b[0m"}
{"stream":"Initialized empty Git repository in /app/.git/\n"}
{"stream":"[master (root-commit) 9954c0d] lfs\n"}
{"stream":" 2 files change

8: d, 6 insertions(+)\n create mode 100644 .gitattributes\n create mode 100644 SPACE_REPOSITORY\n"}
{"stream":" ---\u003e 8078108fef84\n"}
{"aux":{"ID":"sha256:8078108fef848be4538717b40463eaf77b41cf86302d8800dd4b209bd1e1a09a"}}
{"stream":"Step 6/21 : FROM reg

9: istry.cn-beijing.aliyuncs.com/opencsg_space/space-base:python3.10 as base"}
{"stream":"\n"}
{"stream":" ---\u003e 540a84e49fd9\n"}
{"stream":"Step 7/21 : USER user"}
{"stream":"\n"}
{"stream":" ---\u003e Using cache\n"}
{"stream":" ---\u003e f9a6bc0c37a8\n

10: "}
{"stream":"Step 8/21 : COPY --link --chown=1000 ./ /home/user/app"}
{"stream":"\n"}
{"stream":" ---\u003e 3992b2addffd\n"}
{"stream":"Step 9/21 : USER root"}
{"stream":"\n"}
{"stream":" ---\u003e Running in 2f8cfb6727af\n"}
{"stream":" ---\u003e 03ddf0f

11: 5df7a\n"}
{"stream":"Step 10/21 : RUN xargs -r -a ./packages.txt apt-get install -y \t\u0026\u0026 rm -rf /var/lib/apt/lists/*"}
{"stream":"\n"}
{"stream":" ---\u003e Running in dd3854ee1472\n"}
{"stream":" ---\u003e 0510ffd76ad8\n"}
{"stream":"Step 11/21

12: : USER user"}
{"stream":"\n"}
{"stream":" ---\u003e Running in 9c931e7e21c3\n"}
{"stream":" ---\u003e a9bd140ce171\n"}
{"stream":"Step 12/21 : ARG SDK= \tSDK_VERSION="}
{"stream":"\n"}
{"stream":" ---\u003e Running in a114eb664def\n"}
{"stream":" ---\u003e

13: 085ac47eefbc\n"}
{"stream":"Step 13/21 : RUN pip install --default-timeout=60 ${SDK}==${SDK_VERSION}"}
{"stream":"\n"}
{"stream":" ---\u003e Running in 4840eaca2c68\n"}
{"stream":"Defaulting to user installation because normal site-packages is no

14: t writeable\n"}
{"stream":"Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/, https://mirrors.aliyun.com/pypi/simple/, https://pypi.mirrors.ustc.edu.cn/simple/\n"}
{"stream":"Collecting gradio==3.37.0\n"}
{"stream":" Downloading https://mirror

15: s.bfsu.edu.cn/pypi/web/packages/41/b6/eb030aa054e51be202c8aee0a6b5fefb35527499c914019f1f2741537029/gradio-3.37.0-py3-none-any.whl (19.8 MB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

16: ━━━━━━━━ 19.8/19.8 MB 16.8 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting httpx\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/41/7b/ddacf6dcebb42466abd03f368782142baa82e08fc0c1f8eaa05b4bae87d5/httpx-0.

17: 27.0-py3-none-any.whl (75 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.6/75.6 kB 9.6 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting gradio-clie

18: nt\u003e=0.2.10\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/d5/d5/ee0814f51f81c8120495fd82a25aaeac4259058a3a61849bd7e575894fe1/gradio_client-1.0.1-py3-none-any.whl (318 kB)\n"}
{"stream":" ━━━━━━━━━━�

19: �━━━━━━━━━━━━━━━━━━━━━━━━━━━ 318.1/318.1 kB 13.6 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting pyyaml\u003c7.0,\u003e=5.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/pac

20: kages/29/61/bf33c6c85c55bc45a29eee3195848ff2d518d84735eb0e2d8cb42e0d285e/PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (705 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━�

21: ��━━━━━━━━━━ 705.5/705.5 kB 20.3 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting jinja2\u003c4.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/31/80/3a54838c3fb461f6fec263ebf3a3a41771bd05190238de348

22: 6aae8540c36/jinja2-3.1.4-py3-none-any.whl (133 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 18.7 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Coll

23: ecting typing-extensions~=4.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/26/9f/ad63fc0248c5379346306f8668cda6e2e2e9c95e01216d2b8ffd9ff037d0/typing_extensions-4.12.2-py3-none-any.whl (37 kB)\n"}
{"stream":"Collecting altair\u

24: 003c6.0,\u003e=4.2.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/46/30/2118537233fa72c1d91a81f5908a7e843a6601ccc68b76838ebc4951505f/altair-5.3.0-py3-none-any.whl (857 kB)\n"}
{"stream":" ━━━━━━━━━━━�

25: ��━━━━━━━━━━━━━━━━━━━━━━━━━━ 857.8/857.8 kB 29.2 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting aiofiles\u003c24.0,\u003e=22.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/p

26: ackages/c5/19/5af6804c4cc0fed83f47bff6e413a98a36618e7d40185cd36e69737f3b0e/aiofiles-23.2.1-py3-none-any.whl (15 kB)\n"}
{"stream":"Collecting ffmpy\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/1d/70/07914754979f5dd80bda947a0ff

27: d181c08bfcb137b01c3c0cef45254d271/ffmpy-0.3.2.tar.gz (5.5 kB)\n"}
{"stream":" Preparing metadata (setup.py): started\n"}
{"stream":" Preparing metadata (setup.py): finished with status 'done'\n"}
{"stream":"Collecting fastapi\n"}
{"stream":" Downloading

28: https://mirrors.bfsu.edu.cn/pypi/web/packages/e6/33/de41e554e5a187d583906e10d53bfae5fd6c07e98cbf4fe5262bd37e739a/fastapi-0.111.0-py3-none-any.whl (91 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━

29: ━━━━━━━━━━━━━ 92.0/92.0 kB 16.0 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting requests~=2.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a

30: 2a686d80da4d54/requests-2.32.3-py3-none-any.whl (64 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.9/64.9 kB 11.7 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stre

31: am":"Collecting numpy~=1.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/4b/d7/ecf66c1cd12dc28b4040b15ab4d17b773b87fa9d29ca16125de01adb36cd/numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)\n"}
{

32: "stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 21.5 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting websockets\u003c12.0,\u003e=10.0\n"}
{"stream

33: ":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/58/0a/7570e15661a0a546c3a1152d95fe8c05480459bab36247f0acbf41f01a41/websockets-11.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (129 kB)\n

34: "}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 129.9/129.9 kB 9.3 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting pydub\n"}
{"stream":" Downloading https://

35: mirrors.bfsu.edu.cn/pypi/web/packages/a6/53/d78dc063216e62fc55f6b2eebb447f6a4b0a59f55c8406376f76bf959b08/pydub-0.25.1-py2.py3-none-any.whl (32 kB)\n"}
{"stream":"Collecting orjson~=3.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packa

36: ges/6c/4d/313dcbecc7ab7d9d3590dba4be613e3e8b7df821d6ab77a6cb17e58fc7ae/orjson-3.10.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (144 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━�

37: �━━━━━━━━━━ 145.0/145.0 kB 17.8 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting huggingface-hub\u003e=0.14.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/66/e8/bbbad5c7b49c68def42830f96c606e693bfa9

38: 35a886740a363f04cb84e44/huggingface_hub-0.23.3-py3-none-any.whl (401 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 401.7/401.7 kB 27.9 MB/s eta 0:00:00"}
{"stream"

39: :"\n"}
{"stream":"Collecting matplotlib~=3.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/a7/68/16e7b9154fae61fb29f0f3450b39b855b89e6d2c598d67302e70f96883af/matplotlib-3.9.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_

40: 64.whl (8.3 MB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.3/8.3 MB 57.0 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting markupsafe~=2.0\n"}
{"stre

41: am":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/7c/52/2b1b570f6b8b803cef5ac28fdf78c0da318916c7d2fe9402a84d591b394c/MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)\n"}
{"stream":"Collecting packaging\n"}

42: {"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl (53 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━�

43: ��━━━━━━━━━━━━━━━━━━━━ 54.0/54.0 kB 7.1 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting markdown-it-py[linkify]\u003e=2.0.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/42/d7/1e

44: c15b46af6af88f19b8e5ffea08fa375d433c998b8a7639e76935c14f1f/markdown_it_py-3.0.0-py3-none-any.whl (87 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5

45: kB 16.3 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting semantic-version~=2.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/6a/23/8146aad7d88f4fcb3a6218f41a60f6c2d4e3a72de72da1825dc7c8f7877c/semantic_version-2.10.0-py2

46: .py3-none-any.whl (15 kB)\n"}
{"stream":"Collecting pillow\u003c11.0,\u003e=8.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/b5/a2/7a09695dc636bf8d0a1b63022f58701177b7dc6fad30f6d6bc343e5473a4/pillow-10.3.0-cp310-cp310-manylinu

47: x_2_28_x86_64.whl (4.5 MB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 74.6 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting uvicorn\u003e=0

48: .14.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/b2/f9/e6f30ba6094733e4f9794fd098ca0543a19b07ac1fa3075d595bf0f1fb60/uvicorn-0.30.1-py3-none-any.whl (62 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━

49: ━━━━━━━━━━━━━━━━━━━━━━━━ 62.4/62.4 kB 8.5 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting python-multipart\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/3d/47/444768600d9

50: e0ebc82f8e347775d24aef8f6348cf00e9fa0e81910814e6d/python_multipart-0.0.9-py3-none-any.whl (22 kB)\n"}
{"stream":"Collecting aiohttp~=3.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/a0/09/e7637f4f0760cad4d67347bbd8311c6ad0259a

51: 3fc01f04555af9e84bd378/aiohttp-3.9.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB

52: 65.5 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting mdit-py-plugins\u003c=0.3.3\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/33/eb/c358112e8265f827cf8228eda36cf2a720ad933f5ca66f47f808edf4bb34/mdit_py_plugins-0.3.3-p

53: y3-none-any.whl (50 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.5/50.5 kB 6.5 MB/s eta 0:00:00\n"}
{"stream":"Collecting pandas\u003c3.0,\u003e=1.0\n"}

54: {"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/89/1b/12521efcbc6058e2673583bb096c2b5046a9df39bd73eca392c1efed24e5/pandas-2.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.0 MB)\n"}
{"stream":" ━━━━━�

55: ��━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.0/13.0 MB 68.4 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,\u003c3.0.0,\u003e=1.7.4\n"}
{"stream"

56: :" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/17/ba/1b65c9cbc49e0c7cd1be086c63209e9ad883c2a409be4746c21db4263f41/pydantic-2.7.4-py3-none-any.whl (409 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━

57: ━━━━━━━━━━━━━━━━ 409.0/409.0 kB 45.3 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting yarl\u003c2.0,\u003e=1.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/c3/a0/0ade1409d184cbc9e85acd40

58: 3a386a7c0563b92ff0f26d138ff9e86e48b4/yarl-1.9.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (301 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 301.6

59: /301.6 kB 32.2 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting frozenlist\u003e=1.1.1\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/ec/25/0c87df2e53c0c5d90f7517ca0ff7aca78d050a8ec4d32c4278e8c0e52e51/frozenlist-1.4.1-cp

60: 310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (239 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 239.5/239.5 kB 3

61: 1.4 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting async-timeout\u003c5.0,\u003e=4.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/a7/fa/e01228c2938de91d47b307831c62ab9e4001e747789d0b05baf779a6488c/async_timeout-4.0.3

62: -py3-none-any.whl (5.7 kB)\n"}
{"stream":"Collecting attrs\u003e=17.3.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/e0/44/827b2a91a5816512fcaf3cc4ebc465ccd5d598c45cefa6703fcf4a79018f/attrs-23.2.0-py3-none-any.whl (60 kB)\n"}

63: {"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.8/60.8 kB 9.1 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting multidict\u003c7.0,\u003e=4.5\n"}
{"stream":"

64: Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/33/62/2c9085e571318d51212a6914566fe41dd0e33d7f268f7e2f23dcd3f06c56/multidict-6.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (124 kB)\n"}
{"stream":" ━━━━━━━━�

65: ��━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.3/124.3 kB 17.6 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting aiosignal\u003e=1.1.2\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/p

66: ackages/76/ac/a7305707cb852b7e16ff80eaf5692309bde30e2b1100a1fcacdc8f731d97/aiosignal-1.3.1-py3-none-any.whl (7.6 kB)\n"}
{"stream":"Collecting jsonschema\u003e=3.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/c8/2f/324fab4be6f

67: e37fb7b521546e8a557e6cf08c1c1b3d0b4839a00f589d9ef/jsonschema-4.22.0-py3-none-any.whl (88 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.3/88.3 kB 11.8 MB/s

68: eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting toolz\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/b7/8a/d82202c9f89eab30f9fc05380daae87d617e2ad11571ab23d7c13a29bb54/toolz-0.12.1-py3-none-any.whl (56 kB)\n"}
{"stream":"

69: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.1/56.1 kB 7.9 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting fsspec\n"}
{"stream":" Downloading https://mirrors.bfsu.e

70: du.cn/pypi/web/packages/8f/df/de2c06b316142063b6ccccc97cdc54185e3af771aa4f056d56f0db0e3466/fsspec-2024.6.0-py3-none-any.whl (176 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�

71: ��━━━ 176.9/176.9 kB 25.4 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting sniffio\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3

72: -none-any.whl (10 kB)\n"}
{"stream":"Collecting certifi\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/5b/11/1e78951465b4a225519b8c3ad29769c49e0d8d157a070f681d5b6d64737f/certifi-2024.6.2-py3-none-any.whl (164 kB)\n"}
{"stream":"

73: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.4/164.4 kB 24.3 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting anyio\n"}
{"stream":" Downloading https://mirrors.bfsu.edu

74: .cn/pypi/web/packages/7b/a2/10639a79341f6c019dedc95bd48a4928eed9f1d1197f4c04f546fc7ae0ff/anyio-4.4.0-py3-none-any.whl (86 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�

75: �━━━ 86.8/86.8 kB 13.5 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting idna\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/e5/3e/741d8c82801c347547f8a2a06aa57dbb1992be9e948df2ea0eda2c8b79e8/idna-3.7-py3-none-any.w

76: hl (66 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 10.1 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting httpcore==1.*\n"}
{"stream":"

77: Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/78/d4/e5d7e4f2174f8a4d63c8897d79eb8fe2503f7ecc03282fee1fa2719c2704/httpcore-1.0.5-py3-none-any.whl (77 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━

78: ━━━━━━━━━━━━━━━━━ 77.9/77.9 kB 12.3 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting h11\u003c0.15,\u003e=0.13\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/95/04/ff642e65ad6b90db43e668

79: d70ffb6736436c7ce41fcc549f4e9472234127/h11-0.14.0-py3-none-any.whl (58 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 7.7 MB/s eta 0:00:00"}
{"st

80: ream":"\n"}
{"stream":"Collecting filelock\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/44/aa/edf5205465b70cee020b711f1f4b6179a0ae369cc13aadb8f8ec6fd7d2f5/filelock-3.15.1-py3-none-any.whl (15 kB)\n"}
{"stream":"Collecting tqdm

81: \u003e=4.42.1\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/18/eb/fdb7eb9e48b7b02554e1664afd3bd3f117f6b6d6c5881438a0b055554f9b/tqdm-4.66.4-py3-none-any.whl (78 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━�

82: ��━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 kB 12.3 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting mdurl~=0.1\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/b3/38/89ba8ad64ae

83: 25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl (10.0 kB)\n"}
{"stream":"Collecting linkify-it-py\u003c3,\u003e=1\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/04/1e/b832de447dee8b582cac175871d2f6

84: c3d5077cc56d5575cadba1fd1cccfa/linkify_it_py-2.0.3-py3-none-any.whl (19 kB)\n"}
{"stream":"Collecting fonttools\u003e=4.22.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/7a/d0/010c65f46fb14333cdb537566d1532e64361eb981180ab73f1

85: 148e927382/fonttools-4.53.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 73.6 MB/

86: s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting cycler\u003e=0.10\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl (8.3 kB)\n"

87: }
{"stream":"Collecting python-dateutil\u003e=2.7\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)\n"}
{"

88: stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 229.9/229.9 kB 31.7 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting contourpy\u003e=1.0.1\n"}
{"stream":" Downloading

89: https://mirrors.bfsu.edu.cn/pypi/web/packages/67/0f/6e5b4879594cd1cbb6a2754d9230937be444f404cf07c360c07a10b36aac/contourpy-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (305 kB)\n"}
{"stream":" ━━━━━━━━━━━━�

90: �━━━━━━━━━━━━━━━━━━━━━━━━━ 305.2/305.2 kB 42.2 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting kiwisolver\u003e=1.3.1\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/6f/4

91: 0/4ab1fdb57fced80ce5903f04ae1aed7c1d5939dda4fd0c0aa526c12fe28a/kiwisolver-1.4.5-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�

92: ��━━━━━━━━━━ 1.6/1.6 MB 71.4 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting pyparsing\u003e=2.3.1\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/9d/ea/6d76df31432a0e6fdf81681a895f009a4bb47b3c39036db

93: 3e1b528191d52/pyparsing-3.1.2-py3-none-any.whl (103 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.2/103.2 kB 13.4 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":

94: "Collecting mdit-py-plugins\u003c=0.3.3\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/e4/92/268849737427f7f9a128d2586e561a7dfac723c02f3aaaaef4d27dd6829c/mdit_py_plugins-0.3.2-py3-none-any.whl (50 kB)\n"}
{"stream":" ━━�

95: ��━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.4/50.4 kB 9.2 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/de/d9/20870f611989b

96: 8dcfd2395eddefdd4b1983d6c36513cce7fbbe9eb345768/mdit_py_plugins-0.3.1-py3-none-any.whl (46 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.5/46.5 kB 7.1 MB/

97: s eta 0:00:00"}
{"stream":"\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/5b/c4/1cf60e11b55197fa2e5e8d2f732a229690f5a08b018ae1cf4c00585ca834/mdit_py_plugins-0.3.0-py3-none-any.whl (43 kB)\n"}
{"stream":" ━━━━━━�

98: ��━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.7/43.7 kB 6.2 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/c0/cb/782222da2cc3d543aee662c33

99: cbaf611ec010146ca21c91d5743e8d99603/mdit_py_plugins-0.2.8-py3-none-any.whl (41 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.0/41.0 kB 6.6 MB/s eta 0:00:0

100: 0"}
{"stream":"\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/58/04/d5538523c5aae983c6057e6feba23dccb1da39d022264d7dacac1bfc4cd6/mdit_py_plugins-0.2.7-py3-none-any.whl (41 kB)\n"}
{"stream":" ━━━━━━━━━━�

101: ��━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.0/41.0 kB 5.0 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/0c/31/f0ecaccf7cd2db17332a94852f190840167c3

102: cb7eadf09efe498412f909a/mdit_py_plugins-0.2.6-py3-none-any.whl (39 kB)\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/66/62/fae9ee5766a7153d571ad732ef514c552efeaa31735fd60e6d9bc07fa9e4/mdit_py_plugins-0.2.5-py3-none-any.whl (39

103: kB)\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/9d/df/16e87ebd0bb9d946d3b2d39c1171398f7f71eef5d9ca85adb94131b8c7b5/mdit_py_plugins-0.2.4-py3-none-any.whl (39 kB)\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/w

104: eb/packages/97/23/3e017136aefe61b442fee2869fcc7756c814e3cfe551f225e1e085f27217/mdit_py_plugins-0.2.3-py3-none-any.whl (39 kB)\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/40/fe/0f06e8545ac0578741342cc00305b8d955863b72755af0c37

105: 71f339099fb/mdit_py_plugins-0.2.2-py3-none-any.whl (39 kB)\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/64/f2/b477dfb13e6d3db6421cf61cd7b76562f16141e81cb174d837dda519253b/mdit_py_plugins-0.2.1-py3-none-any.whl (38 kB)\n"}
{"st

106: ream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/5b/78/e3b8c43edce725d01021d5b2947dc6d425ee5201cece4bc3d6a757720151/mdit_py_plugins-0.2.0-py3-none-any.whl (38 kB)\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/

107: 00/02/280276967a2328199700b5e16bf427c4b4af1c54fdd6a00623ef93ed25c2/mdit_py_plugins-0.1.0-py3-none-any.whl (37 kB)\n"}
{"stream":"INFO: pip is looking at multiple versions of matplotlib to determine which version is compatible with other requirements. This

108: could take a while.\n"}
{"stream":"Collecting matplotlib~=3.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/d6/07/061f97211f942101070a46fecd813a6b1bd83590ed7b07c473cabd707fe7/matplotlib-3.8.4-cp310-cp310-manylinux_2_17_x86_64.m

109: anylinux2014_x86_64.whl (11.6 MB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 78.4 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"INFO: pip is look

110: ing at multiple versions of markupsafe to determine which version is compatible with other requirements. This could take a while.\n"}
{"stream":"Collecting markupsafe~=2.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/36/2a/fab

111: 302636634e1f770a26aac212e44cff25522ed3c9189bd8afc9ae2effd/MarkupSafe-2.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)\n"}
{"stream":"INFO: pip is looking at multiple versions of markdown-it-py[linkify] to determine which version is

112: compatible with other requirements. This could take a while.\n"}
{"stream":"Collecting markdown-it-py[linkify]\u003e=2.0.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/bf/25/2d88e8feee8e055d015343f9b86e370a1ccbec546f2865c98397

113: aaef24af/markdown_it_py-2.2.0-py3-none-any.whl (84 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.5/84.5 kB 15.2 MB/s eta 0:00:00"}
{"stream":"\n"}
{"strea

114: m":"Collecting pytz\u003e=2020.1\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/9c/3d/a121f284241f08268b21359bd425f7d4825cffc5ac5cd0e1b3d82ffd2b10/pytz-2024.1-py2.py3-none-any.whl (505 kB)\n"}
{"stream":" ━━━━━━�

115: ��━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 505.5/505.5 kB 49.6 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting tzdata\u003e=2022.7\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/w

116: eb/packages/65/58/f9c9e6be752e9fcb8b6a0ee9fb87e6e7a1f6bcab2cdc73f02bb7ba91ada0/tzdata-2024.1-py2.py3-none-any.whl (345 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�

117: � 345.4/345.4 kB 41.8 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting pydantic-core==2.18.4\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/be/44/18eec2ac121e195662ac0f48c9c2a7bc9e2175edf408004b42adfadfc095/pydantic_core

118: -2.18.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 67.8 MB/s eta 0:00:00"}
{"st

119: ream":"\n"}
{"stream":"Collecting annotated-types\u003e=0.4.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl (13 kB)\n"}
{

120: "stream":"Collecting urllib3\u003c3,\u003e=1.21.1\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/a2/73/a68704750a7679d0b6d3ad7aa8d4da8e14e151ae82e6fee774e6e0d05ec8/urllib3-2.2.1-py3-none-any.whl (121 kB)\n"}
{"stream":" ━�

121: ��━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.1/121.1 kB 19.2 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting charset-normalizer\u003c4,\u003e=2\n"}
{"stream":" Downloading http

122: s://mirrors.bfsu.edu.cn/pypi/web/packages/da/f1/3702ba2a7470666a62fd81c58a4c40be00670e5006a67f4d626e57f013ae/charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)\n"}
{"stream":" ━━━━━━━━━━━�

123: ��━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.1/142.1 kB 11.2 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting click\u003e=7.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/00/2e/d

124: 53fa4befbf2cfa713304affc7ca780ce4fc1fd8710527771b58311a3229/click-8.1.7-py3-none-any.whl (97 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 14.5

125: MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting ujson!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,\u003e=4.0.1\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/b4/6d/0df8f7a6f1944ba619d93025ce468c9252aa10799d7140e07014

126: dfc1a16c/ujson-5.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (53 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.6/53.6 kB 6.9 MB/s eta

127: 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting fastapi-cli\u003e=0.0.2\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/a1/03/89bf615052aa5453c04d952225ded0b88aab6487b9c5f0c268939d13b860/fastapi_cli-0.0.4-py3-none-any.whl (9.5 kB

128: )\n"}
{"stream":"Collecting starlette\u003c0.38.0,\u003e=0.37.2\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/fd/18/31fa32ed6c68ba66220204ef0be798c349d0a20c1901f9d4a794e08c76d8/starlette-0.37.2-py3-none-any.whl (71 kB)\n"}
{"st

129: ream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.9/71.9 kB 9.7 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting email_validator\u003e=2.0.0\n"}
{"stream":" Down

130: loading https://mirrors.bfsu.edu.cn/pypi/web/packages/e4/60/b02cb0f5ee0be88bd4fbfdd9cc91e43ec2dfcc47fe064e7c70587ff58a94/email_validator-2.1.1-py3-none-any.whl (30 kB)\n"}
{"stream":"Collecting dnspython\u003e=2.0.0\n"}
{"stream":" Downloading https://mir

131: rors.bfsu.edu.cn/pypi/web/packages/87/a1/8c5287991ddb8d3e4662f71356d9656d91ab3a36618c3dd11b280df0d255/dnspython-2.6.1-py3-none-any.whl (307 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�

132: �━━━━━━━ 307.7/307.7 kB 37.5 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting typer\u003e=0.12.3\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/20/b5/11cf2e34fbb11b937e006286ab5b8cfd334fde1c8fa4dd7f49122693

133: 1180/typer-0.12.3-py3-none-any.whl (47 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.2/47.2 kB 5.9 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collectin

134: g rpds-py\u003e=0.7.1\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/e5/20/10c12b1acb102c4981a7e1dc86b60e36c1d5c940a7bda48643542f80dbff/rpds_py-0.18.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)\n"}
{"str

135: eam":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 68.5 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting jsonschema-specifications\u003e=2023.03.6\n"}
{"str

136: eam":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/ee/07/44bd408781594c4d0a027666ef27fab1e441b109dc3b76b4f836f8fd04fe/jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB)\n"}
{"stream":"Collecting referencing\u003e=0.28.4\n"}
{"strea

137: m":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/b7/59/2056f61236782a2c86b33906c025d4f4a0b17be0161b63b70fd9e8775d36/referencing-0.35.1-py3-none-any.whl (26 kB)\n"}
{"stream":"Collecting uc-micro-py\n"}
{"stream":" Downloading https://mirror

138: s.bfsu.edu.cn/pypi/web/packages/37/87/1f677586e8ac487e29672e4b17455758fce261de06a0d086167bb760361a/uc_micro_py-1.0.3-py3-none-any.whl (6.2 kB)\n"}
{"stream":"Collecting six\u003e=1.5\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/package

139: s/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB)\n"}
{"stream":"Collecting exceptiongroup\u003e=1.0.2\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/01/90/79fe92dd413a9

140: cab314ef5c591b5aa9b9ba787ae4cadab75055b0ae00b33/exceptiongroup-1.2.1-py3-none-any.whl (16 kB)\n"}
{"stream":"Collecting python-dotenv\u003e=0.13\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/6a/3e/b68c118422ec867fa7ab88444e1274

141: aa40681c606d59ac27de5a5588f082/python_dotenv-1.0.1-py3-none-any.whl (19 kB)\n"}
{"stream":"Collecting uvloop!=0.15.0,!=0.15.1,\u003e=0.14.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/ab/ed/12729fba5e3b7e02ee70b3ea230b88e60a5

142: 0375cf63300db22607694d2f0/uvloop-0.19.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4

143: MB 72.3 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting httptools\u003e=0.5.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/65/e7/dd5ba95c84047118a363f0755ad78e639e0529be92424bb020496578aa3b/httptools-0.6.1-cp310-cp31

144: 0-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (341 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 341.4/341.4 kB 42.7 MB/s

145: eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting watchfiles\u003e=0.13\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/3d/ae/e7eddbdca559f14a9a38cf04782a5d715cf350aad498d0862fb02b4ebe10/watchfiles-0.22.0-cp310-cp310-manylinux

146: _2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 67.8 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collec

147: ting shellingham\u003e=1.3.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/e0/f9/0595336914c5619e5f28a1fb793285925a8cd4b432c9da0a987836c7f822/shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)\n"}
{"stream":"Collecting rich\u003e=

148: 10.11.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/87/67/a37f6214d0e9fe57f6ae54b2956d550ca8365857f42a1ce0392bb21d9410/rich-13.7.1-py3-none-any.whl (240 kB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━

149: ━━━━━━━━━━━━━━━━━━━━━━ 240.7/240.7 kB 29.8 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Collecting pygments\u003c3.0.0,\u003e=2.13.0\n"}
{"stream":" Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/f7/

150: 3f/01c8b82017c199075f8f788d0d906b9ffbbc5a47dc9918a945e13d5a2bda/pygments-2.18.0-py3-none-any.whl (1.2 MB)\n"}
{"stream":" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 M

151: B 65.1 MB/s eta 0:00:00"}
{"stream":"\n"}
{"stream":"Building wheels for collected packages: ffmpy\n"}
{"stream":" Building wheel for ffmpy (setup.py): started\n"}
{"stream":" Building wheel for ffmpy (setup.py): finished with status 'done'\n"}
{"stream"

152: :" Created wheel for ffmpy: filename=ffmpy-0.3.2-py3-none-any.whl size=5584 sha256=2e708daed36765f33d409022023553d55453c058ea25a20e1ceccef3c19c4a47\n"}
{"stream":" Stored in directory: /home/user/.cache/pip/wheels/5c/d6/92/be20b94775af625f5ef4d315483731a

153: e1c1096ccd54f1a055a\n"}
{"stream":"Successfully built ffmpy\n"}
{"stream":"Installing collected packages: pytz, pydub, ffmpy, websockets, uvloop, urllib3, ujson, uc-micro-py, tzdata, typing-extensions, tqdm, toolz, sniffio, six, shellingham, semantic-versi

154: on, rpds-py, pyyaml, python-multipart, python-dotenv, pyparsing, pygments, pillow, packaging, orjson, numpy, multidict, mdurl, markupsafe, kiwisolver, idna, httptools, h11, fsspec, frozenlist, fonttools, filelock, exceptiongroup, dnspython, cycler, click,

155: charset-normalizer, certifi, attrs, async-timeout, annotated-types, aiofiles, yarl, uvicorn, requests, referencing, python-dateutil, pydantic-core, markdown-it-py, linkify-it-py, jinja2, httpcore, email_validator, contourpy, anyio, aiosignal, watchfiles, s

156: tarlette, rich, pydantic, pandas, mdit-py-plugins, matplotlib, jsonschema-specifications, huggingface-hub, httpx, aiohttp, typer, jsonschema, gradio-client, fastapi-cli, altair, fastapi, gradio\n"}
{"stream":"Successfully installed aiofiles-23.2.1 aiohttp-

157: 3.9.5 aiosignal-1.3.1 altair-5.3.0 annotated-types-0.7.0 anyio-4.4.0 async-timeout-4.0.3 attrs-23.2.0 certifi-2024.6.2 charset-normalizer-3.3.2 click-8.1.7 contourpy-1.2.1 cycler-0.12.1 dnspython-2.6.1 email_validator-2.1.1 exceptiongroup-1.2.1 fastapi-0.1

158: 11.0 fastapi-cli-0.0.4 ffmpy-0.3.2 filelock-3.15.1 fonttools-4.53.0 frozenlist-1.4.1 fsspec-2024.6.0 gradio-3.37.0 gradio-client-1.0.1 h11-0.14.0 httpcore-1.0.5 httptools-0.6.1 httpx-0.27.0 huggingface-hub-0.23.3 idna-3.7 jinja2-3.1.4 jsonschema-4.22.0 jso

159: nschema-specifications-2023.12.1 kiwisolver-1.4.5 linkify-it-py-2.0.3 markdown-it-py-2.2.0 markupsafe-2.1.5 matplotlib-3.9.0 mdit-py-plugins-0.3.3 mdurl-0.1.2 multidict-6.0.5 numpy-1.26.4 orjson-3.10.5 packaging-24.1 pandas-2.2.2 pillow-10.3.0 pydantic-2.7

160: .4 pydantic-core-2.18.4 pydub-0.25.1 pygments-2.18.0 pyparsing-3.1.2 python-dateutil-2.9.0.post0 python-dotenv-1.0.1 python-multipart-0.0.9 pytz-2024.1 pyyaml-6.0.1 referencing-0.35.1 requests-2.32.3 rich-13.7.1 rpds-py-0.18.1 semantic-version-2.10.0 shell

161: ingham-1.5.4 six-1.16.0 sniffio-1.3.1 starlette-0.37.2 toolz-0.12.1 tqdm-4.66.4 typer-0.12.3 typing-extensions-4.12.2 tzdata-2024.1 uc-micro-py-1.0.3 ujson-5.10.0 urllib3-2.2.1 uvicorn-0.30.1 uvloop-0.19.0 watchfiles-0.22.0 websockets-11.0.3 yarl-1.9.4\n"}

162:
{"stream":"\u001b[91m\n[notice] A new release of pip available: 22.3.1 -\u003e 24.0\n[notice] To update, run: python -m pip install --upgrade pip\n\u001b[0m"}
{"stream":" ---\u003e bfa3bad9e038\n"}
{"stream":"Step 14/21 : RUN pip install --default-timeou

163: t=60 -r pre-requirements.txt \u0026\u0026 pip install --default-timeout=60 -r requirements.txt"}
{"stream":"\n"}
{"stream":" ---\u003e Running in c4168b65f44f\n"}
{"stream":"Defaulting to user installation because normal site-packages is not writeabl

164: e\n"}
{"stream":"Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/, https://mirrors.aliyun.com/pypi/simple/, https://pypi.mirrors.ustc.edu.cn/simple/\n"}
{"stream":"\u001b[91m\n[notice] A new release of pip available: 22.3.1 -\u003e 24.0\n[noti

165: ce] To update, run: python -m pip install --upgrade pip\n\u001b[0m"}
{"stream":"Defaulting to user installation because normal site-packages is not writeable\n"}
{"stream":"Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/, https://mirrors.aliy

166: un.com/pypi/simple/, https://pypi.mirrors.ustc.edu.cn/simple/\n"}
{"stream":"\u001b[91m\n[notice] A new release of pip available: 22.3.1 -\u003e 24.0\n[notice] To update, run: python -m pip install --upgrade pip\n\u001b[0m"}
{"stream":" ---\u003e d7720d608

167: 01f\n"}
{"aux":{"ID":"sha256:d7720d60801f8dc66961d39c4962910caedb779be80983e80887a9b54ff8a91f"}}
{"stream":"Step 15/21 : FROM base as pipfreeze"}
{"stream":"\n"}
{"stream":" ---\u003e d7720d60801f\n"}
{"stream":"Step 16/21 : RUN pip freeze \u003e /tmp/free

168: ze.txt"}
{"stream":"\n"}
{"stream":" ---\u003e Running in e6c2dfe9e29c\n"}
{"stream":" ---\u003e 01e6faf80352\n"}
{"aux":{"ID":"sha256:01e6faf80352895c09ff740da42a81f328174282abe79f7abb8b20a18998b991"}}
{"stream":"Step 17/21 : FROM base"}
{"stream":"\n"}
{

169: "stream":" ---\u003e d7720d60801f\n"}
{"stream":"Step 18/21 : COPY --link --chown=1000 --from=lfs /app /home/user/app"}
{"stream":"\n"}
{"stream":" ---\u003e e6e2b1a827c0\n"}
{"stream":"Step 19/21 : COPY --from=pipfreeze --link --chown=1000 /tmp/freeze.txt

170: ."}
{"stream":"\n"}
{"stream":" ---\u003e 7e5f9ff2eb78\n"}
{"stream":"Step 20/21 : ENV PYTHONPATH=$HOME/app \tPYTHONUNBUFFERED=1 \tGRADIO_ALLOW_FLAGGING=never \tGRADIO_NUM_PORTS=1 \tGRADIO_SERVER_NAME=0.0.0.0 \tGRADIO_THEME=huggingface \tTQDM_POSITION=-1

171: \tTQDM_MININTERVAL=1 \tSYSTEM=spaces HF_ENDPOINT=https://hub.opencsg.com/hf"}
{"stream":"\n"}
{"stream":" ---\u003e Running in f74ea5994719\n"}
{"stream":" ---\u003e 5f6b6bcc1be4\n"}
{"stream":"Step 21/21 : ENTRYPOINT ["./start_entrypoint.sh"]"}
{"st

172: ream":"\n"}
{"stream":" ---\u003e Running in aee843c10c44\n"}
{"stream":" ---\u003e 3e6451f36e7b\n"}
{"aux":{"ID":"sha256:3e6451f36e7bc2d2697f27fbaa4dc4d3e59b0d1302f6eab91823ff264df14714"}}
{"stream":"Successfully built 3e6451f36e7b\n"}
{"stream":"Successf

173: ully tagged opencsg-registry.cn-beijing.cr.aliyuncs.com/opencsg_space/fanchile_whisper_test:168\n"}

上传文件时遇到的一系列bug

在自己要上传的文件夹里面

  1. git init ----要初始化
  2. git add
  3. git remote add origin http://XXXX/XXXX/XXXX/XX.git ----要传上去的地址 可以在下载按钮里看
  4. git config --global user.email “XXXX”
  5. git config --global user.name "XXXX"
  6. git commit -m "commit message"
  7. git push --set-upstream origin main ----这里要填Username 就是注册的用户名 Password不是密码是用户管理页面的“git token”
  8. 如果出现! [rejected] main -> main (non-fast-forward)
    error: failed to push some refs to 'http://XXXX/XXXX/XXXX/XX.git'
    hint: Updates were rejected because the tip of your current branch is behind
    hint: its remote counterpart. Integrate the remote changes (e.g.
    hint: 'git pull ...') before pushing again.
    hint: See the 'Note about fast-forwards' in 'git push --help' for details.
    就打命令git pull origin main --allow-unrelated-histories 将本地没有的文件先跟远程仓库对齐
    我用的Linux会出现个修改文件,它已经改好了,直接按ctrl+X退出再回车就保存了,效果如下
    Merge made by the 'recursive' strategy.
    .gitattributes | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    README.md | 5 +++++
    2 files changed, 61 insertions(+)
    create mode 100644 .gitattributes
    create mode 100644 README.md
  9. 最后再输一遍步骤7就可以啦!累死老子了,下面是上传成功的反馈
    Counting objects: 5, done.
    Delta compression using up to 104 threads.
    Compressing objects: 100% (4/4), done.
    Writing objects: 100% (5/5), 9.30 MiB | 18.70 MiB/s, done.
    Total 5 (delta 0), reused 0 (delta 0)
    remote: . Processing 1 references
    remote: Processed 1 references in total
    To http://XXXX/XXXX/XXXX/XX.git
    6da3105..c49990c main -> main
    Branch 'main' set up to track remote branch 'main' from 'origin'.

新建Tag无法展示在任务选项中

问题描述

我在管理端创建了新的tag
image
接着我在数据集的readme.md中设置了对应的tag

---
license: Apache License 2.0
tags:
  - dangerous-qa
  - text-generation
---

上传后 不会将我设置的tag dangerous-qa 放在对应的任务:中 而是展示到了other中
image

需求

  1. 添加任务类别后能够自动识别并添加到任务分类中
  2. 可以自定义tag的图标和颜色

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

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

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.