Skip to content

Commit

Permalink
Increase Timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
saileshd1402 committed Jan 10, 2025
1 parent 145d7fc commit d2b7314
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/jax/jax-dist-spmd-mnist/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.13

RUN pip install --upgrade pip
RUN pip install --upgrade jax absl-py
RUN pip install --upgrade jax[k8s] absl-py

RUN apt-get update && apt-get install -y \
build-essential \
Expand All @@ -24,6 +24,6 @@ RUN git clone https://github.com/facebookincubator/gloo.git \

WORKDIR /app

ADD datasets.py spmd_mnist_classifier_fromscratch.py /app
ADD datasets.py spmd_mnist_classifier_fromscratch.py /app/

ENTRYPOINT ["python3", "spmd_mnist_classifier_fromscratch.py"]
4 changes: 2 additions & 2 deletions sdk/python/test/e2e/test_e2e_jaxjob.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_sdk_e2e_with_gang_scheduling(job_namespace):
logging.info(TRAINING_CLIENT.list_jobs(job_namespace))

try:
utils.verify_job_e2e(TRAINING_CLIENT, JOB_NAME, job_namespace, wait_timeout=3000)
utils.verify_job_e2e(TRAINING_CLIENT, JOB_NAME, job_namespace, wait_timeout=9000)
except Exception as e:
utils.print_job_results(TRAINING_CLIENT, JOB_NAME, job_namespace)
TRAINING_CLIENT.delete_job(JOB_NAME, job_namespace)
Expand Down Expand Up @@ -123,7 +123,7 @@ def test_sdk_e2e(job_namespace):
logging.info(TRAINING_CLIENT.list_jobs(job_namespace))

try:
utils.verify_job_e2e(TRAINING_CLIENT, JOB_NAME, job_namespace, wait_timeout=3000)
utils.verify_job_e2e(TRAINING_CLIENT, JOB_NAME, job_namespace, wait_timeout=9000)
except Exception as e:
utils.print_job_results(TRAINING_CLIENT, JOB_NAME, job_namespace)
TRAINING_CLIENT.delete_job(JOB_NAME, job_namespace)
Expand Down

0 comments on commit d2b7314

Please sign in to comment.