Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ydshieh committed Dec 7, 2023
1 parent 24b833b commit 642e9f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/self-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
name: Identify models to test
working-directory: /transformers/tests
run: |
echo "matrix=$(python3 -c 'import os; tests = os.getcwd(); model_tests = os.listdir(os.path.join(tests, "models")); d1 = sorted(list(filter(os.path.isdir, os.listdir(tests)))); d2 = sorted(list(filter(os.path.isdir, [f"models/{x}" for x in model_tests]))); d1.remove("models"); d = d2[:6] + d1[:0]; print(d)')" >> $GITHUB_OUTPUT
echo "matrix=$(python3 -c 'import os; tests = os.getcwd(); model_tests = os.listdir(os.path.join(tests, "models")); d1 = sorted(list(filter(os.path.isdir, os.listdir(tests)))); d2 = sorted(list(filter(os.path.isdir, [f"models/{x}" for x in model_tests]))); d1.remove("models"); d = d2[1:2] + d1[:0]; print(d)')" >> $GITHUB_OUTPUT
- name: NVIDIA-SMI
run: |
Expand Down
4 changes: 2 additions & 2 deletions tests/models/align/test_modeling_align.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,12 +466,12 @@ def test_model(self):
def test_multi_gpu_data_parallel_forward(self):
super().test_multi_gpu_data_parallel_forward()

@unittest.skip(reason="Hidden_states is tested in individual model tests")
def test_hidden_states_output(self):
assert 1 == 2
pass

@unittest.skip(reason="Inputs_embeds is tested in individual model tests")
def test_inputs_embeds(self):
assert 1 == 2
pass

@unittest.skip(reason="Retain_grad is tested in individual model tests")
Expand Down

0 comments on commit 642e9f6

Please sign in to comment.