Skip to content

Commit 688a6da

Browse files
rohitgr7otajotajcarmocca
authored
Fix pkg version issue while compiling docs (#14914)
* Revert "Add BatchSizeFinder callback (#11089)" This reverts commit d1a3a3e. * Revert "Revert "Add BatchSizeFinder callback (#11089)"" This reverts commit 9cc4695. * remove pl * add torch * add numpy * rm packages * add packages * add packages * import from PL * import from PL * always install PL for doctests * remove unnecessary requirements * always install PL in editable mode * once more * another attempt * maybe fix app test? * Redundant checkgroup path * Revert "maybe fix app test?" This reverts commit 8210a43. * speed up install deps * damn this * damn trio Co-authored-by: otaj <[email protected]> Co-authored-by: otaj <[email protected]> Co-authored-by: Carlos Mocholí <[email protected]>
1 parent ea5e817 commit 688a6da

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.github/checkgroup.yml

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ subprojects:
2929
- "src/pytorch_lightning/**"
3030
- "tests/tests_pytorch/**"
3131
- "setup.cfg" # includes pytest config
32-
- ".github/workflows/docs-*.yml"
3332
checks:
3433
# Note: updates here should be applied to the lightning_lite group
3534
- "pl-conda (3.8, 1.10)"

.github/workflows/docs-checks.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,13 @@ jobs:
4343
- name: Install dependencies
4444
env:
4545
FREEZE_REQUIREMENTS: 1
46-
PACKAGE_NAME: ${{ matrix.pkg }}
4746
run: |
4847
sudo apt-get update
4948
sudo apt-get install -y cmake pandoc
5049
pip --version
5150
# python -m pip install --upgrade --user pip
52-
pip install -e . --quiet -r requirements/${{ matrix.pkg }}/docs.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
53-
pip install -r requirements/${{ matrix.pkg }}/devel.txt
51+
pip install -r requirements/${{ matrix.pkg }}/docs.txt -r requirements/${{ matrix.pkg }}/devel.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
52+
pip install -e .
5453
pip list
5554
shell: bash
5655

@@ -92,14 +91,11 @@ jobs:
9291
- name: Install dependencies
9392
env:
9493
FREEZE_REQUIREMENTS: 1
95-
PACKAGE_NAME: ${{ matrix.pkg }}
9694
run: |
9795
sudo apt-get update
98-
sudo apt-get install -y cmake pandoc
96+
sudo apt-get install -y cmake pandoc texlive-latex-extra dvipng texlive-pictures
9997
pip --version
10098
pip install -e . --quiet -r requirements/${{ matrix.pkg }}/docs.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
101-
# install Texlive, see https://linuxconfig.org/how-to-install-latex-on-ubuntu-20-04-focal-fossa-linux
102-
sudo apt-get update && sudo apt-get install -y texlive-latex-extra dvipng texlive-pictures
10399
pip list
104100
shell: bash
105101

requirements/app/docs.txt

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
ipython[notebook]
44
ipython_genutils
5-
pytorch-lightning
65

76
sphinx-autobuild
87
https://storage.googleapis.com/grid-packages/lightning-ai-sphinx-theme/build-32.zip

0 commit comments

Comments
 (0)