Skip to content

Commit 147e408

Browse files
authored
Remove PyTorch Lightning integration (#468)
1 parent cd4f626 commit 147e408

27 files changed

Lines changed: 6 additions & 825 deletions

File tree

.github/workflows/main.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ jobs:
8686
run: |
8787
pytest -v --color=yes --doctest-modules tango/integrations/torch tests/integrations/torch
8888
89-
- name: PyTorch Lightning integration
90-
extras: dev,pytorch_lightning
91-
requires_torch: true
92-
run: |
93-
pytest -v --color=yes --doctest-modules tango/integrations/pytorch_lightning tests/integrations/pytorch_lightning
94-
9589
- name: Transformers integration
9690
extras: dev,flax,transformers
9791
requires_torch: true

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
### Removed
11+
12+
- Removed PyTorch Lightning integration.
13+
1014
### Fixed
1115

1216
- Fixed issue where Executor `parallelism` option in a Tango settings file would be ignored.

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ run-checks :
1010
flake8 .
1111
mypy --check-untyped-defs .
1212
CUDA_VISIBLE_DEVICES='' pytest -v --color=yes --doctest-modules --ignore=tests/integrations --ignore=tango/integrations tests/ tango/
13-
CUDA_VISIBLE_DEVICES='' pytest -v --color=yes --doctest-modules tango/integrations/pytorch_lightning tests/integrations/pytorch_lightning
1413
CUDA_VISIBLE_DEVICES='' pytest -v --color=yes --doctest-modules tango/integrations/torch tests/integrations/torch
1514
CUDA_VISIBLE_DEVICES='' pytest -v --color=yes --doctest-modules tango/integrations/transformers tests/integrations/transformers

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ You can pick and choose from the integrations with one of these:
6969

7070
```bash
7171
conda install tango-datasets -c conda-forge
72-
conda install tango-pytorch_lightning -c conda-forge
7372
conda install tango-torch -c conda-forge
7473
conda install tango-wandb -c conda-forge
7574
```

docs/source/api/integrations/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ Integrations
1212
datasets
1313
transformers
1414
wandb
15-
pytorch_lightning
1615
beaker
1716
flax

docs/source/api/integrations/pytorch_lightning.rst

Lines changed: 0 additions & 49 deletions
This file was deleted.

docs/source/conf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@
6161
"python": ("https://docs.python.org/3", None),
6262
"rich": ("https://rich.readthedocs.io/en/latest", None),
6363
"torch": ("https://pytorch.org/docs/stable", None),
64-
"pytorch_lightning": ("https://pytorch-lightning.readthedocs.io/en/latest", None),
65-
# Just leaving this here for when we do finally add a deepspeed integration:
66-
# "deepspeed": ("https://deepspeed.readthedocs.io/en/latest/", None),
6764
"flax": ("https://flax.readthedocs.io/en/latest", None),
6865
"fairscale": ("https://fairscale.readthedocs.io/en/latest/", None),
6966
"datasets": ("https://huggingface.co/docs/datasets/master/en", None),

requirements.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ pytz
2525
# NOTE: we use a special trailing comment on each line to denote which extras
2626
# each package is needed by. For example, PyTorch is needed by the 'torch' extra
2727
# that you install with 'pip install tango[torch]'.
28-
torch>=1.9,<1.14 # needed by: torch,pytorch_lightning,transformers,fairscale
29-
numpy # needed by: torch,pytorch_lightning,transformers,fairscale
28+
torch>=1.9,<1.14 # needed by: torch,transformers,fairscale
29+
numpy # needed by: torch,transformers,fairscale
3030
datasets>=1.12,<3.0 # needed by: datasets,transformers
3131
wandb>=0.12,<0.14 # needed by: wandb
3232
retry # needed by: wandb
33-
pytorch-lightning>=1.6,<1.8 # needed by: pytorch_lightning
3433
transformers>=4.12.3 # needed by: transformers
3534
sentencepiece==0.1.97 # needed by: transformers
3635
fairscale>=0.4.6,<0.5 # needed by: fairscale

tango/integrations/pytorch_lightning/__init__.py

Lines changed: 0 additions & 163 deletions
This file was deleted.

tango/integrations/pytorch_lightning/accelerators.py

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)