Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaOfOcean committed Oct 24, 2024
1 parent ff89eeb commit 0b4cad0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:

- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Run unit test
run: |
Expand Down
6 changes: 0 additions & 6 deletions chatlearn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,3 @@ class RLHFMegatronModule(MegatronModule):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
logger.warning("RLHFMegatronModule is deprecated, please use MegatronModule")






2 changes: 1 addition & 1 deletion tests/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ function run_test {


function run_all_tests {
run_test python test_rlhf_data_input.py -c "configs/exp.yaml"
run_test python test_data_dp.py -c "configs/rlhf.yaml"
run_test python test_rlhf_data_input.py -c "configs/exp.yaml"
run_test python test_data_dp_zero.py -c "configs/rlhf.yaml"
run_test python test_rlhf_colocate_forward_train.py -c "configs/rlhf2.yaml"
run_test python test_evaluator_multi.py -c "configs/test_eval2.yaml"
Expand Down

0 comments on commit 0b4cad0

Please sign in to comment.