-
Notifications
You must be signed in to change notification settings - Fork 6
Torch/TorchGeo Export & Packaging #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
fmigneault
merged 73 commits into
stac-extensions:main
from
wherobots:isaac/torch-export-packaging
Aug 18, 2025
Merged
Changes from 71 commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
9ac3dbf
add torch export functions
isaaccorley 34a39f0
reorganize to torch directories
isaaccorley d47dde3
update changelog
isaaccorley f23c95f
Merge branch 'main' into isaac/torch-export-packaging
isaaccorley e8e3b53
fix logger.debug callss
isaaccorley 493cd17
change to package and export naming
isaaccorley 6660f34
remove typing in docstring
isaaccorley 8603034
skip torch tests if torch isn't installed
isaaccorley 0e65956
update ruff pre-commit to latest
isaaccorley fe74306
add torch optional deps
isaaccorley 82749cc
format and lint
isaaccorley d785e9e
add comment for test yaml
isaaccorley 7c808c8
update dim shapes in ftw metadata yaml
isaaccorley 2eb362b
refactor per suggestions
isaaccorley b3137f3
fix tmpdir logic
isaaccorley f370513
revert uv.lock
isaaccorley 60b25a9
Merge branch 'main' into isaac/torch-export-packaging
isaaccorley ce14de7
remove ipywidgets and ipykernel deps
isaaccorley 1b93af4
make mypy happy
isaaccorley d951a4e
update lock file
isaaccorley 67f6a62
make mypy happier
isaaccorley 5e289af
skip tests before torch is imported
isaaccorley 0e827f7
update makefile with option for installing with extras
isaaccorley 1297d9f
update lock file
isaaccorley b190f87
update tests to run appropriately based on python versions
isaaccorley 4b12168
typing.Self not available in python 3.10
isaaccorley f7ca821
make mypy happy
isaaccorley 4d43ab7
fix tests
isaaccorley b6730ef
add no transforms tests
isaaccorley f518601
mark tests as slow, add test all make command, correct make install d…
rbavery 6c7f1a1
fix install-dev-extras, use test index for official release candidate…
rbavery 27ba7e9
use cpu torch extra when linting
rbavery 5613dbc
upgrade mypy, safety, fix mypy errors
rbavery 69fafc8
Merge pull request #3 from wherobots/ryan/torch-export-ci-fixes
rbavery ea7e7af
remove logger level setting
isaaccorley cd1993a
move aoti_compile fn to utils
isaaccorley af805cd
refactor to use typedict and typealias
isaaccorley 05d74e7
validate mlm-metadata from archive in tests
isaaccorley afc6430
add details for using multiple chained transforms with a nn.Sequential
isaaccorley 210f765
update makefile linting logic
isaaccorley 111ec97
remove precommit comment
isaaccorley 79233a5
fix mypy errors
isaaccorley a7e86f3
revert formatting
isaaccorley e065232
str -> Path
isaaccorley 867b92d
update to work on mac osx
isaaccorley f81e222
don't cache if python=3.10
isaaccorley f5e8ca2
do cache if python=3.10
isaaccorley 7f93f52
lint needs torch extra because it uses uv run
isaaccorley 9a2e367
add slow decorator back in
isaaccorley ebf1967
Merge branch 'main' into isaac/torch-export-packaging
isaaccorley c3cac56
update to torch 2.8
isaaccorley 9560a1a
update lockfile
isaaccorley c7bfa1c
update makefile to install dev deps with make install-dev-extras
isaaccorley 104d490
format and lint
isaaccorley c8b2bc1
mark cpu export tests as slow
isaaccorley 05e4976
add torch export/package example to docs
isaaccorley 4df7987
skip slow tests
isaaccorley b886444
cast paths to os.PathLike to make mypy happy
isaaccorley 5493f29
remove .dev from torch cpu version
isaaccorley 3a7ade8
dont omit torch tests from coverage
isaaccorley 55558f3
pin to torch 2.8.0
isaaccorley 2c7961f
add single layer export/package test
isaaccorley a4e415b
add coverage_conditional_plugin
isaaccorley bf4b3dc
add conditional converage plugin
isaaccorley 22fd7d5
try omit if torch not installed
isaaccorley e619cc1
cond coverage plugin fix
isaaccorley 4347dbe
keep coverage files separate per python version
isaaccorley 747c2ec
Merge branch 'main' into isaac/torch-export-packaging
isaaccorley e40e97d
fix coverage error
isaaccorley b858864
refactor tests and override metadata based on dtype/device args
isaaccorley b91aab8
skip if torchgeo not installed
isaaccorley 90bbe4a
Update README_STAC_MODEL.md
isaaccorley d2bc5ed
Update README_STAC_MODEL.md
isaaccorley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.