CI: update TPU docker (#14448)
This commit is contained in:
parent
6188593abd
commit
74304db6f8
|
@ -19,16 +19,16 @@ FROM pytorchlightning/pytorch_lightning:base-xla-py${PYTHON_VERSION}-torch${PYTO
|
|||
|
||||
LABEL maintainer="Lightning-AI <https://github.com/Lightning-AI>"
|
||||
|
||||
COPY ./ ./pytorch-lightning/
|
||||
COPY ./ ./lightning/
|
||||
|
||||
# Pull the legacy checkpoints
|
||||
RUN cd pytorch-lightning && \
|
||||
RUN cd lightning && \
|
||||
bash .actions/pull_legacy_checkpoints.sh
|
||||
|
||||
RUN \
|
||||
pip install -q fire && \
|
||||
# drop unnecessary packages
|
||||
pip install -r pytorch-lightning/requirements/pytorch/devel.txt --no-cache-dir
|
||||
pip install -r lightning/requirements/pytorch/devel.txt --no-cache-dir
|
||||
|
||||
COPY ./dockers/tpu-tests/docker-entrypoint.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||
|
|
|
@ -22,7 +22,7 @@ local tputests = base.BaseTest {
|
|||
|||
|
||||
source ~/.bashrc
|
||||
conda activate lightning
|
||||
mkdir -p /home/runner/work/pytorch-lightning && cd /home/runner/work/pytorch-lightning
|
||||
mkdir -p /home/runner/work/lightning && cd /home/runner/work/lightning
|
||||
git clone https://github.com/Lightning-AI/lightning.git
|
||||
cd lightning
|
||||
echo $PWD
|
||||
|
|
Loading…
Reference in New Issue