Skip to content

Commit 1f27469

Browse files
authored
GH-105 [Feature] 私有化部署 (#108)
1 parent 423d80b commit 1f27469

File tree

856 files changed

+2290
-775
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

856 files changed

+2290
-775
lines changed

.github/workflows/build-zhihuiyun.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,20 @@ jobs:
4949
sudo timedatectl set-timezone Asia/Shanghai
5050
date
5151
52-
- name: Checkout ollama-yun
52+
- name: Checkout pytorch-yun
5353
uses: actions/checkout@v4
5454
with:
5555
token: ${{ env.ADMIN_GITHUB_TOKEN }}
56-
repository: ${{ inputs.repository_account }}/ollama-yun
56+
repository: ${{ inputs.repository_account }}/pytorch-yun
5757
ref: ${{ inputs.branch_number }}
5858

59-
- name: Checkout ollama-yun-vip
59+
- name: Checkout pytorch-yun-vip
6060
uses: actions/checkout@v4
6161
with:
6262
token: ${{ env.ADMIN_GITHUB_TOKEN }}
63-
repository: ${{ inputs.repository_account }}/ollama-yun-vip
63+
repository: ${{ inputs.repository_account }}/pytorch-yun-vip
6464
ref: ${{ inputs.branch_number }}
65-
path: "/home/runner/work/ollama-yun/ollama-yun/ollama-yun-vip"
65+
path: "/home/runner/work/pytorch-yun/pytorch-yun/pytorch-yun-vip"
6666

6767
- name: Cache gradle
6868
uses: actions/cache@v3
@@ -134,7 +134,7 @@ jobs:
134134
uses: actions/upload-artifact@v4
135135
with:
136136
name: zhihuiyun
137-
path: ./ollama-yun-dist/build/distributions/zhihuiyun.tar.gz
137+
path: ./pytorch-yun-dist/build/distributions/zhihuiyun.tar.gz
138138

139139
# 上传阿里oss使用单独任务,原因:上传失败后,可以使用github重跑任务,不需要重新打包
140140
upload-oss:

.github/workflows/deploy-website.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ jobs:
4444
sudo timedatectl set-timezone Asia/Shanghai
4545
date
4646
47-
- name: Checkout ollama-yun
47+
- name: Checkout pytorch-yun
4848
uses: actions/checkout@v4
4949
with:
5050
token: ${{ env.ADMIN_GITHUB_TOKEN }}
51-
repository: ${{ inputs.repository_account }}/ollama-yun
51+
repository: ${{ inputs.repository_account }}/pytorch-yun
5252
ref: ${{ inputs.branch_number }}
5353

5454
- name: Install pnpm
@@ -83,9 +83,9 @@ jobs:
8383
8484
- name: Tar dist
8585
run: |
86-
cd /home/runner/work/ollama-yun/ollama-yun/docs
86+
cd /home/runner/work/pytorch-yun/pytorch-yun/docs
8787
tar -czf website.tar.gz ./.output
88-
mv website.tar.gz /home/runner/work/ollama-yun/ollama-yun/
88+
mv website.tar.gz /home/runner/work/pytorch-yun/pytorch-yun/
8989
9090
- name: Copy website via ssh password
9191
uses: appleboy/[email protected]

.github/workflows/deploy-zhihuiyun.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
sudo timedatectl set-timezone Asia/Shanghai
2929
date
3030
31-
- name: Checkout ollama-yun
31+
- name: Checkout pytorch-yun
3232
uses: actions/checkout@v4
3333
with:
3434
token: ${{ env.ADMIN_GITHUB_TOKEN }}
35-
repository: "isxcode/ollama-yun"
35+
repository: "isxcode/pytorch-yun"
3636
ref: 'main'
3737

3838
- name: Download zhihuiyun

.gitignore

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
**/.DS_Store
1515

1616
# 前端打包不提交
17-
ollama-yun-backend/ollama-yun-main/src/main/resources/templates
18-
ollama-yun-backend/ollama-yun-main/src/main/resources/static
17+
pytorch-yun-backend/pytorch-yun-main/src/main/resources/templates
18+
pytorch-yun-backend/pytorch-yun-main/src/main/resources/static
1919

2020
# 代理安装包不提交
21-
ollama-yun-backend/ollama-yun-main/src/main/resources/agent
21+
pytorch-yun-backend/pytorch-yun-main/src/main/resources/agent
2222

2323
# 企业版代码不提交
24-
ollama-yun-vip
24+
pytorch-yun-vip
2525

2626
# 资源文件不提交
2727
resources/file
@@ -32,11 +32,11 @@ resources/tmp
3232
resources/cdc
3333

3434
# flink-min不提交
35-
ollama-yun-dist/flink-min
35+
pytorch-yun-dist/flink-min
3636

3737
# 日志不提交
3838
logs
3939

4040
# prql二进制文件不提交
41-
ollama-yun-backend/ollama-yun-main/src/main/resources/libprql_java-osx-arm64.dylib
42-
ollama-yun-backend/ollama-yun-main/src/main/resources/libprql_java-linux64.so
41+
pytorch-yun-backend/pytorch-yun-main/src/main/resources/libprql_java-osx-arm64.dylib
42+
pytorch-yun-backend/pytorch-yun-main/src/main/resources/libprql_java-linux64.so

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ ARG ADMIN_PASSWORD='admin123'
99
ARG ACTIVE_ENV='docker'
1010
ARG LOG_LEVEL='info'
1111

12-
COPY ./ollama-yun-backend/ollama-yun-main/build/libs/zhihuiyun.jar /opt/zhihuiyun/zhihuiyun.jar
13-
COPY ./ollama-yun-backend/ollama-yun-main/src/main/resources/application-docker.yml /etc/zhihuiyun/conf/
12+
COPY ./pytorch-yun-backend/pytorch-yun-main/build/libs/zhihuiyun.jar /opt/zhihuiyun/zhihuiyun.jar
13+
COPY ./pytorch-yun-backend/pytorch-yun-main/src/main/resources/application-docker.yml /etc/zhihuiyun/conf/
1414

1515
EXPOSE 8080
1616

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,34 @@
33
### 超轻量级大模型训练平台/人工智能/智能中心
44

55
[![Docker Pulls](https://img.shields.io/docker/pulls/isxcode/zhihuiyun)](https://hub.docker.com/r/isxcode/zhihuiyun)
6-
[![build](https://github.com/isxcode/ollama-yun/actions/workflows/build-zhihuiyun.yml/badge.svg?branch=main)](https://github.com/isxcode/ollama-yun/actions/workflows/build-zhihuiyun.yml)
7-
[![GitHub Repo stars](https://img.shields.io/github/stars/isxcode/ollama-yun)](https://github.com/isxcode/ollama-yun)
8-
[![GitHub forks](https://img.shields.io/github/forks/isxcode/ollama-yun)](https://github.com/isxcode/ollama-yun/fork)
9-
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fisxcode%2Follama-yun.svg?type=shield&issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2Fisxcode%2Follama-yun?ref=badge_shield&issueType=license)
10-
[![GitHub License](https://img.shields.io/github/license/isxcode/ollama-yun)](https://github.com/isxcode/ollama-yun/blob/main/LICENSE)
6+
[![build](https://github.com/isxcode/pytorch-yun/actions/workflows/build-zhihuiyun.yml/badge.svg?branch=main)](https://github.com/isxcode/pytorch-yun/actions/workflows/build-zhihuiyun.yml)
7+
[![GitHub Repo stars](https://img.shields.io/github/stars/isxcode/pytorch-yun)](https://github.com/isxcode/pytorch-yun)
8+
[![GitHub forks](https://img.shields.io/github/forks/isxcode/pytorch-yun)](https://github.com/isxcode/pytorch-yun/fork)
9+
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fisxcode%2Fpytorch-yun.svg?type=shield&issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2Fisxcode%2Fpytorch-yun?ref=badge_shield&issueType=license)
10+
[![GitHub License](https://img.shields.io/github/license/isxcode/pytorch-yun)](https://github.com/isxcode/pytorch-yun/blob/main/LICENSE)
1111

1212
| | |
1313
|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
1414
| 官网地址: | https://zhihuiyun.isxcode.com |
15-
| 源码地址: | https://github.com/isxcode/ollama-yun |
15+
| 源码地址: | https://github.com/isxcode/pytorch-yun |
1616
| 演示环境: | https://zhihuiyun-demo.isxcode.com |
1717
| 安装包下载: | https://isxcode.oss-cn-shanghai.aliyuncs.com/zhihuiyun/zhihuiyun.tar.gz |
1818
| 许可证下载: | https://isxcode.oss-cn-shanghai.aliyuncs.com/zhihuiyun/license.lic |
1919
| Docker Hub: | https://hub.docker.com/r/isxcode/zhihuiyun |
2020
| 阿里云镜像: | https://zhihuiyun.isxcode.com/zh/docs/zh/1/1-docker |
2121
| 产品矩阵: | [至轻云](https://zhiqingyun.isxcode.com), [至流云](https://zhiliuyun.isxcode.com), [至慧云](https://zhihuiyun.isxcode.com), [至数云](https://zhishuyun.isxcode.com) |
22-
| 关键词: | 大模型训练, 智能中心, 模型调用, 模型编排, 人工智能, Ollama, Pytorch, Docker |
22+
| 关键词: | 大模型训练, 智能中心, 模型调用, 模型编排, 人工智能, Pytorch, Pytorch, Docker |
2323
| | |
2424

2525
### 产品介绍
2626

27-
       至慧云是一款超轻量级、企业级模型训练平台,基于Ollama生态打造。一键部署,开箱即用。快速实现大模型离线部署、离线训练、模型调用、机器人代理、模型编排、自定义接口等多种功能,为企业提供高效便捷的大模型解决方案。
27+
       至慧云是一款超轻量级、企业级模型训练平台,基于Pytorch生态打造。一键部署,开箱即用。快速实现大模型离线部署、离线训练、模型调用、机器人代理、模型编排、自定义接口等多种功能,为企业提供高效便捷的大模型解决方案。
2828

2929
### 功能特点
3030

3131
- **轻量级产品**: 无需额外组件安装,一键部署,开箱即用。
3232
- **云原生私有化**: 兼容云原生架构,支持多节点安装与高可用集群部署。
33-
- **离线大模型部署**: 基于Ollama架构,高效地执行模型离线训练部署。
33+
- **离线大模型部署**: 基于Pytorch架构,高效地执行模型离线训练部署。
3434

3535
### 立即体验
3636

@@ -67,11 +67,11 @@ docker run -p 8080:8080 -d isxcode/zhihuiyun
6767
##### MacOS/Linux
6868

6969
> [!IMPORTANT]
70-
> 安装包路径: ollama-yun/ollama-yun-dist/build/distributions/zhihuiyun.tar.gz
70+
> 安装包路径: pytorch-yun/pytorch-yun-dist/build/distributions/zhihuiyun.tar.gz
7171
7272
```bash
73-
git clone https://github.com/isxcode/ollama-yun.git
74-
cd ollama-yun
73+
git clone https://github.com/isxcode/pytorch-yun.git
74+
cd pytorch-yun
7575
./gradlew install clean package
7676
```
7777

@@ -81,11 +81,11 @@ cd ollama-yun
8181
> 请使用Git Bash终端工具执行以下命令
8282
8383
```bash
84-
git clone https://github.com/isxcode/ollama-yun.git
85-
cd ollama-yun
84+
git clone https://github.com/isxcode/pytorch-yun.git
85+
cd pytorch-yun
8686
./gradlew.bat install clean package
8787
```
8888

8989
### 收藏历史
9090

91-
[![Star History Chart](https://api.star-history.com/svg?repos=isxcode/ollama-yun&type=Date)](https://www.star-history.com/#isxcode/ollama-yun&Date)
91+
[![Star History Chart](https://api.star-history.com/svg?repos=isxcode/pytorch-yun&type=Date)](https://www.star-history.com/#isxcode/pytorch-yun&Date)

build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
id "com.diffplug.spotless" version "${SPOTLESS_VERSION}"
77
}
88

9-
def version_number = new File(rootDir.getAbsolutePath(), 'ollama-yun-backend/ollama-yun-main/src/main/resources/VERSION').readLines()[0].trim()
9+
def version_number = new File(rootDir.getAbsolutePath(), 'pytorch-yun-backend/pytorch-yun-main/src/main/resources/VERSION').readLines()[0].trim()
1010

1111
allprojects {
1212

@@ -99,15 +99,15 @@ tasks.register('format', GradleBuild) {
9999

100100
tasks.register('package', GradleBuild) {
101101

102-
tasks = [":ollama-yun-dist:make"]
102+
tasks = [":pytorch-yun-dist:make"]
103103
}
104104

105105
tasks.register('start', Exec) {
106106

107107
commandLine 'sh', '-c', '''
108-
rm -rf ollama-yun-dist/build/distributions/zhihuiyun
109-
tar -vzxf ollama-yun-dist/build/distributions/zhihuiyun.tar.gz -C ollama-yun-dist/build/distributions/
110-
cd ollama-yun-dist/build/distributions/zhihuiyun/bin
108+
rm -rf pytorch-yun-dist/build/distributions/zhihuiyun
109+
tar -vzxf pytorch-yun-dist/build/distributions/zhihuiyun.tar.gz -C pytorch-yun-dist/build/distributions/
110+
cd pytorch-yun-dist/build/distributions/zhihuiyun/bin
111111
bash start.sh
112112
'''
113113
}
@@ -133,7 +133,7 @@ tasks.register('website', Exec) {
133133
tasks.register('frontend', Exec) {
134134

135135
commandLine 'sh', '-c', '''
136-
cd ollama-yun-frontend
136+
cd pytorch-yun-frontend
137137
rm -rf node_modules
138138
pnpm install --force
139139
pnpm run dev --host
@@ -142,12 +142,12 @@ tasks.register('frontend', Exec) {
142142

143143
tasks.register('backend', GradleBuild) {
144144

145-
tasks = [":ollama-yun-backend:ollama-yun-main:bootRun"]
145+
tasks = [":pytorch-yun-backend:pytorch-yun-main:bootRun"]
146146
}
147147

148148
tasks.register('autotest', GradleBuild) {
149149

150-
tasks = [":ollama-yun-autotest:autotest"]
150+
tasks = [":pytorch-yun-autotest:autotest"]
151151
}
152152

153153
tasks.register('install', Exec) {

docs/components/layout/home-footer.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,11 +362,11 @@ function clickGithubProject() {
362362
}
363363
364364
function clickGitee() {
365-
window.open("https://gitee.com/isxcode/ollama-yun");
365+
window.open("https://gitee.com/isxcode/pytorch-yun");
366366
}
367367
368368
function clickGithub() {
369-
window.open("https://github.com/isxcode/ollama-yun/discussions");
369+
window.open("https://github.com/isxcode/pytorch-yun/discussions");
370370
}
371371
372372
function clickSlack() {

docs/components/layout/home-header.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ const menuData: Array<MenuData> = reactive([
135135
{
136136
title: "github",
137137
icon: "github",
138-
path: "https://github.com/isxcode/ollama-yun",
138+
path: "https://github.com/isxcode/pytorch-yun",
139139
type: "link",
140140
},
141141
]);

0 commit comments

Comments
 (0)