Skip to content

Commit

Permalink
trust remote code for training datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Jan 13, 2025
1 parent cb9cb7f commit eb25460
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/test_onnxruntime_training.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,14 @@ jobs:
pip install --no-cache-dir evaluate absl-py rouge_score seqeval sacrebleu nltk scikit-learn
pip install .[tests,onnxruntime-training]
- name: Test with pytest
- name: Test with pytest (trainer)
run: |
RUN_SLOW=1 pytest tests/onnxruntime/training/nightly_test_trainer.py --durations=0 -s -vvvv
RUN_SLOW=1 pytest tests/onnxruntime/training/nightly_test_examples.py --durations=0 -s -vvvv
RUN_SLOW=1 pytest tests/onnxruntime/training/test_trainer.py --durations=0 -s -vvvv
env:
HF_DATASETS_TRUST_REMOTE_CODE: 1

- name: Test with pytest (examples)
run: |
RUN_SLOW=1 pytest tests/onnxruntime/training/test_examples.py --durations=0 -s -vvvv
env:
HF_DATASETS_TRUST_REMOTE_CODE: 1
File renamed without changes.
File renamed without changes.

0 comments on commit eb25460

Please sign in to comment.