Browse Source

[devops] fix ci for document check (#3751)

* [doc] add test info

* [devops] update doc check ci

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] remove debug info and update invalid doc

* [devops] add essential comments
pull/3729/head
Hongxin Liu 2 years ago committed by GitHub
parent
commit
5dd573c6b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      .github/workflows/doc_check_on_pr.yml
  2. 2
      docs/source/zh-Hans/features/1D_tensor_parallel.md

10
.github/workflows/doc_check_on_pr.yml

@ -47,12 +47,16 @@ jobs:
# we use the versions in the main branch as the guide for versions to display # we use the versions in the main branch as the guide for versions to display
# checkout will give your merged branch # checkout will give your merged branch
# therefore, we need to make the merged branch as the main branch # therefore, we need to make the merged branch as the main branch
# there is no main branch, so it's safe to checkout the main branch from the merged branch
# docer will rebase the remote main branch to the merged branch, so we have to config user
- name: Make the merged branch main - name: Make the merged branch main
run: | run: |
cd ColossalAI cd ColossalAI
curBranch=$(git rev-parse --abbrev-ref HEAD) git checkout -b main
git checkout main git branch -u origin/main
git merge $curBranch # fast-forward master up to the merge git config user.name 'github-actions'
git config user.email 'github-actions@github.com'
- name: Build docs - name: Build docs
run: | run: |

2
docs/source/zh-Hans/features/1D_tensor_parallel.md

@ -23,7 +23,7 @@
```math ```math
\left[\begin{matrix} B_1 \\ B_2 \end{matrix} \right] \left[\begin{matrix} B_1 \\ B_2 \end{matrix} \right]
``` ```
这就是所谓的行并行方式.<br> 这就是所谓的行并行方式.
为了计算 为了计算
```math ```math

Loading…
Cancel
Save