Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyfowers committed Aug 26, 2024
1 parent 0bc8456 commit 5d012c0
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
python -m pip install --upgrade pip
pip install dist/*.whl
models=$(turnkey models-location --quiet)
turnkey -i $models/selftest/linear.py discover export-pytorch benchmark
turnkey -i $models/selftest/linear.py discover export-pytorch
- name: Publish distribution package to PyPI
if: startsWith(github.ref, 'refs/tags/v')
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/test_devices_plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@

name: Lint and Test Devices Plugin

on:
push:
branches: ["main"]
paths:
- plugins/devices/src/turnkeyml_plugin_devices/common/**
- plugins/devices/src/turnkeyml_plugin_devices/onnxrt/**
- plugins/devices/src/turnkeyml_plugin_devices/torchrt/**
- plugins/devices/src/turnkeyml_plugin_devices/tensorrt/**
- plugins/devices/setup.py
- .github/workflows/test_devices_plugin.yml
pull_request:
branches: ["main"]
paths:
- plugins/devices/src/turnkeyml_plugin_devices/common/**
- plugins/devices/src/turnkeyml_plugin_devices/onnxrt/**
- plugins/devices/src/turnkeyml_plugin_devices/torchrt/**
- plugins/devices/src/turnkeyml_plugin_devices/tensorrt/**
- plugins/devices/setup.py
- .github/workflows/test_devices_plugin.yml
# on:
# push:
# branches: ["main"]
# paths:
# - plugins/devices/src/turnkeyml_plugin_devices/common/**
# - plugins/devices/src/turnkeyml_plugin_devices/onnxrt/**
# - plugins/devices/src/turnkeyml_plugin_devices/torchrt/**
# - plugins/devices/src/turnkeyml_plugin_devices/tensorrt/**
# - plugins/devices/setup.py
# - .github/workflows/test_devices_plugin.yml
# pull_request:
# branches: ["main"]
# paths:
# - plugins/devices/src/turnkeyml_plugin_devices/common/**
# - plugins/devices/src/turnkeyml_plugin_devices/onnxrt/**
# - plugins/devices/src/turnkeyml_plugin_devices/torchrt/**
# - plugins/devices/src/turnkeyml_plugin_devices/tensorrt/**
# - plugins/devices/setup.py
# - .github/workflows/test_devices_plugin.yml

permissions:
contents: read
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
import onnxruntime as ort
import numpy as np

from turnkeyml_plugins_devices.common.run.basert import BaseRT
from turnkeyml_plugins_devices.common.run.onnxrt.within_conda import dummy_inputs
from turnkeyml_plugins_devices.common.run.performance import MeasuredPerformance
from turnkeyml_plugin_devices.common.run.basert import BaseRT
from turnkeyml_plugin_devices.common.run.onnxrt.within_conda import dummy_inputs
from turnkeyml_plugin_devices.common.run.performance import MeasuredPerformance

from turnkeyml.state import load_state
import turnkeyml.common.exceptions as exp
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import os
import numpy as np

from turnkeyml_plugins_devices.common.run.basert import BaseRT
from turnkeyml_plugins_devices.common.run.performance import MeasuredPerformance
from turnkeyml_plugin_devices.common.run.basert import BaseRT
from turnkeyml_plugin_devices.common.run.performance import MeasuredPerformance

import turnkeyml.common.exceptions as exp
from turnkeyml.common.filesystem import Stats
Expand Down

0 comments on commit 5d012c0

Please sign in to comment.