Skip to content

Commit

Permalink
Merge pull request #397 from Dana-Farber-AIOS/dev-onnx
Browse files Browse the repository at this point in the history
Merge dev_onnx into dev_graph
  • Loading branch information
VarunUllanat authored Dec 6, 2023
2 parents 453e085 + 711f735 commit 44eca15
Show file tree
Hide file tree
Showing 12 changed files with 1,393 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish-to-docker-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2.7.0
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: |
pathml/pathml:latest
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/tests-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ jobs:
auto-activate-base: false
activate-environment: pathml
environment-file: environment.yml
mamba-version: "*"
# mamba-version: "*"
miniforge-version: latest
use-mamba: true
channels: conda-forge
python-version: ${{ matrix.python-version }}
- name: Debugging
run: |
Expand Down
2 changes: 1 addition & 1 deletion docs/readthedocs-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ nbsphinx-link==1.3.0
sphinx-rtd-theme==1.3.0
sphinx-autoapi==3.0.0
ipython==8.10.0
sphinx-copybutton==0.5.2
sphinx-copybutton==0.5.2
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ dependencies:
- loguru==0.5.3
- pandas==1.5.2 # orig no req
- torch-geometric==2.3.1
- jpype1
- jpype1
706 changes: 706 additions & 0 deletions examples/InferenceOnnx_tutorial.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pathml/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"""
Copyright 2021, Dana-Farber Cancer Institute and Weill Cornell Medicine
Copyright 2023, Dana-Farber Cancer Institute and Weill Cornell Medicine
License: GNU GPL 2.0
"""

from . import datasets as ds
from . import ml
from . import inference, ml
from . import preprocessing as pp
from ._logging import PathMLLogger
from ._version import __version__
Expand Down
14 changes: 14 additions & 0 deletions pathml/inference/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"""
Copyright 2023, Dana-Farber Cancer Institute and Weill Cornell Medicine
License: GNU GPL 2.0
"""

from .inference import (
HaloAIInference,
Inference,
InferenceBase,
RemoteTestHoverNet,
check_onnx_clean,
convert_pytorch_onnx,
remove_initializer_from_input,
)
Loading

0 comments on commit 44eca15

Please sign in to comment.