Skip to content
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

adding PL & lite with torch #71

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .azure/ci-testig-parameterized.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
- template: testing-template.yml
parameters:
configs:
# - "Lightning-AI/pl_torch-develop.yaml" # TODO
# - "Lightning-AI/fabric_torch-develop.yaml" # TODO
- "Lightning-AI/metrics_pl-develop.yaml"
- "Lightning-AI/metrics_pl-release.yaml"
- "Lightning-AI/flash_pl-develop.yaml"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_compatible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
max-parallel: 25
fail-fast: false
matrix: ${{ fromJSON(needs.generator.outputs.matrix) }}
timeout-minutes: 35
timeout-minutes: 90
steps:
- uses: actions/checkout@v3

Expand Down
35 changes: 35 additions & 0 deletions configs/Lightning-AI/fabric_torch-develop.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
target_repository:
HTTPS: https://github.com/Lightning-AI/lightning.git
# checkout a particular branch or a tag
checkout: master
# define installing package extras
install_extras: dev
# copy some test from the target repository
copy_tests:
- tests/tests_fabric

contact:
slack:
# Adrian Wälchli
- URC536Z0W
# Justus Schock
- U010XFPFETH

env:
# let's limit the installation only to Fabric
PACKAGE_NAME: fabric

dependencies:
- name: torch
install_flags:
- "-f https://download.pytorch.org/whl/nightly/torch_nightly.html"
- "--pre"

testing:
# additional pytest arguments
pytest_args: --strict

runtimes:
- {os: "ubuntu-22.04", python: "3.10"}
- {os: "macOS-12", python: "3.10"}
- {os: "windows-2022", python: "3.10"}
35 changes: 35 additions & 0 deletions configs/Lightning-AI/pl_torch-develop.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
target_repository:
HTTPS: https://github.com/Lightning-AI/lightning.git
# checkout a particular branch or a tag
checkout: master
# define installing package extras
install_extras: dev
# copy some test from the target repository
copy_tests:
- tests/tests_pytorch

contact:
slack:
# Carlos Mocholí
- U019R2ZS25T
Borda marked this conversation as resolved.
Show resolved Hide resolved
# Justus Schock
- U010XFPFETH

env:
# let's limit the installation only to Pytorch-Lightning
PACKAGE_NAME: pytorch

dependencies:
- name: torch
install_flags:
- "-f https://download.pytorch.org/whl/nightly/torch_nightly.html"
- "--pre"

testing:
# additional pytest arguments
pytest_args: --strict

runtimes:
- {os: "ubuntu-22.04", python: "3.10"}
- {os: "macOS-12", python: "3.10"}
- {os: "windows-2022", python: "3.10"}