Skip to content

Commit d02bf54

Browse files
committed
refactor: update documentation deployment process and remove obsolete scripts
1 parent afeb5ed commit d02bf54

File tree

5 files changed

+5
-202
lines changed

5 files changed

+5
-202
lines changed

.github/workflows/doc.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,11 @@ jobs:
3333
3434
- name: Build Cookbook
3535
run: |
36-
cd docs
37-
./build.sh
36+
mkdocs build
3837
3938
- name: Deploy to GitHub Pages
4039
uses: peaceiris/actions-gh-pages@v4
4140
with:
4241
github_token: ${{ secrets.GITHUB_TOKEN }}
4342
publish_dir: docs/_build/preview/_build/html
44-
cname: tuner.agentscope.io
43+
cname: doc.agentjet.github.io

docs/build.sh

Lines changed: 0 additions & 193 deletions
This file was deleted.

docs/references.bib

Lines changed: 0 additions & 2 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ verl = [
3939
]
4040

4141
trinity = [
42-
"trinity-rft==0.4.0"
42+
"trinity-rft[vllm]==0.4.0"
4343
]
4444

4545
dev = [

scripts/docker/dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Build and run the docker image with the following command:
22
#
3-
# cd <AgentScope-Tuner root dir>
43
# docker build -f scripts/docker/dockerfile -t ajet:latest .
54
# docker run -it --gpus all --shm-size="64g" --rm -v $PWD:/workspace -v <root_path_of_data_and_checkpoints>:/data ajet:latest
65

@@ -32,9 +31,9 @@ COPY . .
3231
RUN pip install uv
3332

3433
# use uv to create a virtual environment and install dependencies
35-
RUN uv venv /opt/venv --python=3.12 && \
34+
RUN uv venv /opt/venv --python=3.10 && \
3635
. /opt/venv/bin/activate && \
37-
uv pip install -e .[trinity] && \
36+
uv pip install -e .[verl] && \
3837
uv pip install flash_attn==2.8.1 --no-deps --no-cache-dir
3938

4039
# set entrypoint to activate the virtual environment

0 commit comments

Comments
 (0)