Skip to content

Commit

Permalink
use bigger machine for slow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Jan 28, 2025
1 parent 1827450 commit 41abf7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test_onnxruntime_slow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
contains(github.event.pull_request.labels.*.name, 'onnxruntime-slow')
}}

runs-on: ubuntu-20.04
runs-on:
group: aws-general-8-plus

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion tests/onnxruntime/test_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ def test_save_load_ort_model_with_external_data(self):
def test_save_load_decoder_model_with_external_data(self, use_cache: bool):
with tempfile.TemporaryDirectory() as tmpdirname:
model = ORTModelForCausalLM.from_pretrained(
"gpt2-large", use_cache=use_cache, export=True, use_merged=False, use_io_binding=False
"gpt2-large", export=True, use_cache=use_cache, use_merged=False, use_io_binding=False
)
model.save_pretrained(tmpdirname)

Expand Down

0 comments on commit 41abf7f

Please sign in to comment.