mirror of
https://github.com/OpenBMB/ChatDev.git
synced 2026-11-18 07:50:38 +00:00
Prepare ExecOrchestra release for ChatDev branch
This commit is contained in:
parent
db3eb809e5
commit
c0826fd705
@ -61,8 +61,8 @@
|
||||
1. **克隆项目仓库**
|
||||
|
||||
```bash
|
||||
git clone -b execorchestra --single-branch https://github.com/TL-Z/ExecOrchestra.git
|
||||
cd ExecOrchestra
|
||||
git clone -b execorchestra --single-branch https://github.com/OpenBMB/ChatDev.git
|
||||
cd ChatDev
|
||||
cd execorchestra
|
||||
```
|
||||
|
||||
@ -113,7 +113,7 @@ python -m scripts.download_embedding --tokenizer-only
|
||||
|
||||
1. **填写 API 地址与密钥**
|
||||
|
||||
编辑 `ExecOrchestra/execorchestra/.env`,将以下值替换为自己的配置。文件内已按必填项和可选项分组添加注释。
|
||||
编辑 `ChatDev/execorchestra/.env`,将以下值替换为自己的配置。文件内已按必填项和可选项分组添加注释。
|
||||
|
||||
```dotenv
|
||||
LLM_BASE_URL="https://your-gateway.example/v1"
|
||||
@ -139,7 +139,7 @@ python -m scripts.download_embedding --tokenizer-only
|
||||
|
||||
1. **(可选)启动本地向量服务**
|
||||
|
||||
本地部署时,在 `ExecOrchestra/execorchestra` 中打开**第二个终端**。使用独立 GPU 服务器时,选择可用 GPU 并执行:
|
||||
本地部署时,在 `ChatDev/execorchestra` 中打开**第二个终端**。使用独立 GPU 服务器时,选择可用 GPU 并执行:
|
||||
|
||||
```bash
|
||||
conda activate execorchestra-embedding
|
||||
|
||||
@ -60,8 +60,8 @@ A plan gives the model as much control as the subtask calls for:
|
||||
1. **Clone the repository**
|
||||
|
||||
```bash
|
||||
git clone -b execorchestra --single-branch https://github.com/TL-Z/ExecOrchestra.git
|
||||
cd ExecOrchestra
|
||||
git clone -b execorchestra --single-branch https://github.com/OpenBMB/ChatDev.git
|
||||
cd ChatDev
|
||||
cd execorchestra
|
||||
```
|
||||
2. **Set the environment and install dependencies**
|
||||
@ -111,7 +111,7 @@ In `sgar_mvp/config/embedding_release.json`, set `runtime.api_endpoint_url` to t
|
||||
|
||||
1. **Fill in API endpoints and keys**
|
||||
|
||||
Edit `ExecOrchestra/execorchestra/.env`. Replace the values below with your own; the file contains grouped comments for required and optional settings.
|
||||
Edit `ChatDev/execorchestra/.env`. Replace the values below with your own; the file contains grouped comments for required and optional settings.
|
||||
|
||||
```dotenv
|
||||
LLM_BASE_URL="https://your-gateway.example/v1"
|
||||
@ -137,7 +137,7 @@ In `sgar_mvp/config/embedding_release.json`, set `runtime.api_endpoint_url` to t
|
||||
|
||||
1. **(Optional) Start the local embedding service**
|
||||
|
||||
For local deployment, open a **second terminal** in `ExecOrchestra/execorchestra`. On a dedicated GPU server, choose an available GPU and run:
|
||||
For local deployment, open a **second terminal** in `ChatDev/execorchestra`. On a dedicated GPU server, choose an available GPU and run:
|
||||
|
||||
```bash
|
||||
conda activate execorchestra-embedding
|
||||
|
||||
12
SHA256SUMS
12
SHA256SUMS
@ -1,7 +1,7 @@
|
||||
b2fee92cd5927b6b07a46056f85b2423e6c1986a11535bcf03712be6bf0a4bc5 .gitattributes
|
||||
9351a1a5ccd6b2df3e4bc9b798acc394033a17b7dab4ca79169bcf1d876f529d .gitignore
|
||||
d29292acd52da679c461366ef8cb7a23e7a076bdcb113bbec36bd218aa7e3c62 README-zh.md
|
||||
7e74a36367f562f87a0a3762d917f9e49102f8b2ff027d4c1d685e0bb230bf09 README.md
|
||||
a413fe221db8a6d16f6c8916a5310a80cb15ce01d47149b5e79d8137bb87d77c README-zh.md
|
||||
040311dee6d92e01ce9956777549ec13d52d29167fc9583d4d295023fe547237 README.md
|
||||
ddc517e3f9166aaddaf4e0e132b446d3f69fa935eae4b33629154b92f73e005a execorchestra/.dockerignore
|
||||
5514d531ff0fbd931525f6d8296fbb64e6c4b0811bc981e18b05f44e88eb549b execorchestra/.env.example
|
||||
f60f533fd856b0eb1b15db2baccfcf22a077f9deba440e23f5323f4666ac7754 execorchestra/.gitignore
|
||||
@ -2103,11 +2103,11 @@ d5a069aad6ebe7b4d3082d2f981fc445a7a09eafbe9f78d6c79d89b0cb464227 execorchestra/
|
||||
31a864cf58ee7c8f64eed006a49d2c8851e73fea8629a8945f82583e31db8532 execorchestra/configs/tb21_dataset_files.json
|
||||
aec836b774ac9e572bcab2370f6c858e68a18923f0dc7d7f0abb6898908a4a75 execorchestra/cost_calculator.py
|
||||
94aefcb89a026258b6ce23cfed62bc58159a110546fc8086c82419b79349f679 execorchestra/docs/BENCHMARKS.md
|
||||
49576646f482186ea1059a6dfad855af81a67e5c6e33ae29cfcedf757cece986 execorchestra/docs/MIGRATION.md
|
||||
97be51672b1d0ba223d4d8bdb884cfed52395bfeda3458a0695bfed015773154 execorchestra/docs/QUICKSTART.md
|
||||
2512bab5ab3a25c57e8e572c3f3c07380ea4b7d4075ad2a0a7373fd4b7042bab execorchestra/docs/SERVICES.md
|
||||
4eec14aad49394ad91893c9214ab67d57d3c4971472aeabf256e2a026344717b execorchestra/docs/MIGRATION.md
|
||||
12360f12d5eb6e57c7089896c19f93c386658b588c30ffe6ebb4b950d87ec82a execorchestra/docs/QUICKSTART.md
|
||||
11da259832d905e579c011945e886a5b3cfe29e8d00b64228b6ed45239e2fe8f execorchestra/docs/SERVICES.md
|
||||
df807aae9b4f660b3c99de3af88d6c4c304591a77098c67d0ff342d845adffcb execorchestra/docs/SETUP.md
|
||||
0e072c1656589edbf9595f012a83f043d038efa30b028875895e68dcf7561cb5 execorchestra/docs/XBENCH_DEMO.md
|
||||
0e820306fa7529321c7e3852ea413f00603a2311b6a10a056a6b9e91e46a8c8a execorchestra/docs/XBENCH_DEMO.md
|
||||
bfe06122c8d3c2f8fed9e58082b5abf6512fd38e0a3198b6426344aedda2e2d3 execorchestra/docs/apptainer-deployment.md
|
||||
a29bb5bcfdf31c04e24a80d5c5750dd03b4da86758c942416d22c50b3479d887 execorchestra/docs/assets/framework-overview.pdf
|
||||
2a36413d582846b399c142f4daff3824c0a944e797aa50a75a19172ed7052a35 execorchestra/docs/assets/framework-overview.png
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# Migration verification
|
||||
|
||||
Use the `execorchestra` branch layout for a new server. Run project commands
|
||||
from `ExecOrchestra/execorchestra`; this document adds migration checks to the
|
||||
from `ChatDev/execorchestra`; this document adds migration checks to the
|
||||
[README installation path](../../README.md#quick-start).
|
||||
|
||||
## What this revision contains
|
||||
@ -25,8 +25,8 @@ workstation model relay and experimental search relay are not default dependenci
|
||||
Clone the branch and record its commit identity:
|
||||
|
||||
```bash
|
||||
git clone -b execorchestra --single-branch https://github.com/TL-Z/ExecOrchestra.git
|
||||
cd ExecOrchestra/execorchestra
|
||||
git clone -b execorchestra --single-branch https://github.com/OpenBMB/ChatDev.git
|
||||
cd ChatDev/execorchestra
|
||||
git status --short
|
||||
git rev-parse HEAD
|
||||
python3.11 scripts/verify_contents.py
|
||||
|
||||
@ -11,7 +11,7 @@ a BF16-capable NVIDIA GPU. Model IDs and service contracts are described in
|
||||
|
||||
## 1. Create the framework environment
|
||||
|
||||
With Conda installed, run from `ExecOrchestra/execorchestra`:
|
||||
With Conda installed, run from `ChatDev/execorchestra`:
|
||||
|
||||
```bash
|
||||
conda create -n execorchestra python=3.11 -y
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# Models and services
|
||||
|
||||
Run these commands from the project directory (`ExecOrchestra/execorchestra`) after installing the host environment
|
||||
Run these commands from the project directory (`ChatDev/execorchestra`) after installing the host environment
|
||||
and running `python -m scripts.prepare_release init`. Keep all service credentials
|
||||
in `.env`, and export them with `set -a; source .env; set +a` in each shell.
|
||||
Use shell-compatible values; quote values containing spaces or shell characters.
|
||||
@ -65,7 +65,7 @@ python -m scripts.download_embedding --tokenizer-only
|
||||
|
||||
### Start the local service
|
||||
|
||||
After configuration, open a separate terminal at the project directory (`ExecOrchestra/execorchestra`). Set a
|
||||
After configuration, open a separate terminal at the project directory (`ChatDev/execorchestra`). Set a
|
||||
private, nonempty `SGAR_EMBEDDING_API_KEY` in `.env` and use an NVIDIA GPU
|
||||
supporting BF16. On a dedicated GPU server, start the prepared service with:
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# XBench web research example
|
||||
|
||||
XBench DeepSearch-2510 case 157 exercises search, page reading, and answer
|
||||
delivery. Run this command from `ExecOrchestra/execorchestra` once the framework
|
||||
delivery. Run this command from `ChatDev/execorchestra` once the framework
|
||||
environment, Docker runtime image, model gateway, and embedding service are
|
||||
ready. The command handles the resource preparation needed for this example.
|
||||
[Quick Start](../../README.md#quick-start)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user