90 Commits

Author SHA1 Message Date
Philip Meier
86806251ba add workflow to check available PyTorch distributions (#62)
* add workflow to check available PyTorch distributions

* fix script

* quote var

* [DEBUG] disable all other workflows

* use json to transfer data

* debug

* debug

* debug

* debug

* debug

* cleanup

* fix patched pytorch dists

* debug

* fix exit on fail

* cleanup
2022-04-08 16:21:46 +02:00
Philip Meier
ac4124eb8f fix contributing guidelines and other minor cleanup (#61)
* fix contributing guidelines and other minor cleanup

* fix installation task
2022-04-05 08:50:20 +02:00
Philip Meier
40471ca049 rewrite project (#60)
* replace tox with doit (#42)

* replace tox with doit

* fix dev env setup

* fix dev env setup

* fix dev env setup

* apply fixes to all workflows

* try fix path

* try pip cache

* fix output location

* fix quotes

* fix quotes

* move path file extraction to script

* setup cache

* remove debug step

* add pre-commit caching

* rewrite ltt to wrap pip directly rather than use its internals

* add publish task and fix workflow

* fix publish

* update pre-commit hooks

* remove mypy

* cleanup

* add setup task

* fix some bugs

* disable output capturing on publish task

* fix publish task

* install wheel package in CI dev setup

* Rewrite smoke and computation backend tests (#44)

* fix publish task

* install wheel package in CI dev setup

* fix computation backend tests

* fix smoke tests

* delete other tests for now

* fix test workflow

* add CLI tests after rewrite (#46)

* rewrite README (#45)

* rewrite README

* update how does it work

* refactor the why section

* fix typo

Co-authored-by: James Butler <jamesobutler@users.noreply.github.com>

Co-authored-by: James Butler <jamesobutler@users.noreply.github.com>

* try appdirs to find pip cache path (#48)

* try appdirs to find pip cache path

* print

* fix app_author

* cleanup

* fix

* cleanup

* more cleanup

* refactor dodo (#47)

* refactor dodo

* fix test CI

* address review comments

Co-authored-by: Tony Fast <tony.fast@gmail.com>

Co-authored-by: Tony Fast <tony.fast@gmail.com>

* add default tasks (#49)

* fix module entrypoint (#50)

* fix candidate selection (#52)

* remove test task passthrough (#53)

* disable ROCm wheels (#54)

* fix ROCm deselection (#56)

* relax ROCm deselection even further (#57)

* add naive torch install test (#58)

* add naive torch install test

* trigger CI

* add cpuonly check

* don't fail fast

* add pytorch channel to the test matrix

* don't test LTS channel on 3.10

* add check without specifying the channel

* Revert "add check without specifying the channel"

This reverts commit 0842abf50f.

* use extra index rathe than find links for link patching (#59)

* update README

* fix Windows install

Co-authored-by: James Butler <jamesobutler@users.noreply.github.com>
Co-authored-by: Tony Fast <tony.fast@gmail.com>
2022-04-04 20:36:17 +02:00
Philip Meier
7467b915bb rename default branch from master to main (#51) 2022-03-18 22:06:19 +01:00
Ondrej Kurák
dfbd56ebbc Adding support for Torch LTS (#39) v0.3.5 2021-09-14 15:05:11 +02:00
Philip Meier
030771d9a9 fix version comparison (#38) v0.3.4 2021-08-23 19:22:56 +02:00
Philip Meier
476610e91c remove any in favor of cpu (#37) 2021-08-23 19:13:16 +02:00
Philip Meier
8048f77d57 patch macOS wheels for <1.0.0 to specifiy CPU backend (#35)
* patch macOS wheels for `<1.0.0` to specifiy CPU backend

* add test
v0.3.3
2021-07-01 23:08:58 +02:00
Philip Meier
73e8fc80fe Support multiple CUDA versions (#33)
* Support multiple CUDA versions

* cleanup

* exclude specific windows combinations from tests

* fix cpu backend ordering

* prioritize backend over version

* fix docstring
v0.3.2
2021-06-29 17:22:05 +02:00
Fernando Pérez-García
eff3ea97b3 Use latest supported CUDA version to install PyTorch (#31)
* Use latest supported CUDA version for installer

Fixes #30.

* Make sure the CUDA version has the expected format

* Compare version usings lists instead of strings

* Reformat failing test

* Fix formatting to comply with linter

* Fix typing issues
2021-06-23 19:56:30 +02:00
Philip Meier
49264ab486 fix extract if pytorch dist is an extra (#29) v0.3.1 2021-04-09 13:52:53 +02:00
Philip Meier
4b261f916d warn if ltt install finds no pytorch distribution (#28) 2021-04-09 13:52:44 +02:00
Philip Meier
8a04524c3d add the ability to select PyTorch wheel channel (#27) v0.3.0 2021-04-09 10:41:20 +02:00
Philip Meier
a17068d383 move computation backend detection to the top of find_links (#26) 2021-04-09 10:33:36 +02:00
Philip Meier
8857615498 add new releases to compatibility table (#25) 2021-04-09 10:08:04 +02:00
Philip Meier
64650a29ab remove obsolete ignore for mypy (#24) 2021-04-09 09:57:02 +02:00
Philip Meier
24cd4744fa pin pip version (#23) v0.2.2 2020-12-07 20:10:48 +01:00
Philip Meier
dcfe9bd49d add initial support for inter PyTorch compatibility (#22) v0.2.1 2020-10-27 20:33:51 +01:00
Philip Meier
5e19baaae6 pin black version (#21) 2020-10-27 20:27:33 +01:00
Philip Meier
d4b26cd5cf run tests on a daily schedule (#20) 2020-08-07 07:55:16 +02:00
Philip Meier
97d9c8b4ec invoke pip form python when self upgrading (#19) 2020-08-03 07:37:09 +02:00
Philip Meier
6c1efd2829 add remaining tests (#17)
* get_verbosity

* unrecognized argument

* find

* bug fix

* cleanup

* trigger CI

* Revert "trigger CI"

This reverts commit 727504e80b2dfa12cd71e2c5d5e19bf4d012be66.

* cleanup after rebase
v0.2.0
2020-07-16 07:31:32 +02:00
Philip Meier
ddca55f51b add information about python API (#18)
* rename extract_pytorch_dists to extract_dists

* doc strings

* update README

* trigger CI

* Revert "trigger CI"

This reverts commit 15beccda39.
2020-07-16 07:12:48 +02:00
Philip Meier
59bea55253 rewrite CLI (#16)
* rewrite CLI

* adapt tests

* fix

* update usage examples

* add missing output

* lint
2020-07-15 08:00:10 +02:00
Philip Meier
48cb413de5 split motivation in separate section (#15)
* update motivation

* cleanup
2020-07-15 07:53:14 +02:00
Philip Meier
7cad8a2bad increase fetch-depth for setuptools_scm (#14) 2020-07-14 08:50:56 +02:00
Philip Meier
2d0581ed3f add py.typed to distributed package data (#13)
* add py.typed to distributed package data

* fix workflow trigger

* trigger CI

* revert
v0.1.1
2020-07-13 10:59:00 +02:00
Philip Meier
f352f43724 enable test for resolve without PyTorch dists (#12) 2020-07-10 14:49:55 +02:00
Philip Meier
50608db470 refactor publish test (#11)
* add publishable check to tox

* use tox publishable test in workflow

* rename release workflow to publish

* cleanup

* fix workflow names
v0.1.0
2020-07-10 14:24:42 +02:00
Philip Meier
d6da935f18 update installation instructions for contributors (#10)
* update installation instructions for contributors

* lint
2020-07-10 11:39:42 +02:00
Philip Meier
72c803edb5 rename publish workflow (#9) 2020-07-10 11:39:26 +02:00
Philip Meier
59b494cb94 put badges before description (#8) 2020-07-10 11:33:11 +02:00
Philip Meier
7614376519 add smoke test for CLI (#7) 2020-07-10 11:01:03 +02:00
Philip Meier
796dad69f3 Rename ltt to light_the_torch (#6)
* meta

* rename source

* fix tests

* fix cli entry point

* fix coverage

* fix mocks
2020-07-10 10:50:30 +02:00
Philip Meier
068da16f7a pretend no local version for publish workflow (#5)
* pretend no local version for publish workflow

* remove .github from excluded lint dirs

* seed known third party for isort

* lint

* fix workflow
2020-07-10 09:46:32 +02:00
Philip Meier
c09eaaa53d fix codecov links (#4) 2020-07-09 22:05:08 +02:00
Philip Meier
8fa72fe56d remove no commit on master pre-commit hook (#2)
* remove no commit on master pre-commit hook

* add pre-commit hook change as lint trigger
2020-07-09 21:46:54 +02:00
Philip Meier
4697c3b646 fix README (#3) 2020-07-09 21:43:43 +02:00
Philip Meier
4d94a7c97d Initial functionality (#1)
* remove docs

* add functionality

* add tests

* lint

* add requirements

* add entry point

* add classifiers

* cleanup

* add motivation and installation instructions to README

* fix tests

* fix test for macos

* add usage examples to README

* remove unused code

* remove large download marker for now
2020-07-09 21:26:42 +02:00
Philip Meier
3ba8cc5ecb Initial commit 2020-07-09 17:42:03 +02:00