Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
udaij12 committed Aug 21, 2024
1 parent 467da45 commit fda328b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci_graviton_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ concurrency:

jobs:
ci-cpu:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [graviton-test]
runs-on: [self-hosted, graviton-test]
steps:
- name: Setup Python
uses: actions/setup-python@v5
Expand Down
5 changes: 4 additions & 1 deletion ts/torch_handler/unit_tests/test_object_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Ensures it can load and execute an example model
"""

import platform
import sys
from pathlib import Path

Expand Down Expand Up @@ -72,7 +73,9 @@ def handler(context):
return handler


@pytest.mark.skip(reason="Skipping this test for now")
@pytest.mark.skipif(
platform.machine() == "aarch64", reason="Test skipped on aarch64 architecture"
)
def test_handle(handler, context, image_bytes):
test_data = [{"data": image_bytes}] * 2
results = handler.handle(test_data, context)
Expand Down

0 comments on commit fda328b

Please sign in to comment.