mirror of
https://github.com/vale981/ray
synced 2025-03-05 10:01:43 -05:00
[ci] Change Jenkins to py3 (#5022)
* conda3 * integration * add nevergrad, remotedata * pytest 0.3.1 * otherdockers * setup * tune
This commit is contained in:
parent
11ccf66346
commit
bd8aceb896
6 changed files with 12 additions and 10 deletions
|
@ -9,7 +9,7 @@ pushd "$ROOT_DIR"
|
|||
|
||||
python -m pip install pytest-benchmark
|
||||
|
||||
pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.8.0.dev1-cp27-cp27mu-manylinux1_x86_64.whl
|
||||
pip install -U https://ray-wheels.s3-us-west-2.amazonaws.com/latest/ray-0.8.0.dev1-cp36-cp36m-manylinux1_x86_64.whl
|
||||
python -m pytest --benchmark-autosave --benchmark-min-rounds=10 --benchmark-columns="min, max, mean" $ROOT_DIR/../../../python/ray/tests/perf_integration_tests/test_perf_integration.py
|
||||
|
||||
pushd $ROOT_DIR/../../../python
|
||||
|
|
|
@ -78,9 +78,9 @@ $SUPPRESS_OUTPUT docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE}
|
|||
--smoke-test
|
||||
|
||||
# Runs only on Python3
|
||||
# docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
|
||||
# python3 /ray/python/ray/tune/examples/nevergrad_example.py \
|
||||
# --smoke-test
|
||||
$SUPPRESS_OUTPUT docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
|
||||
python /ray/python/ray/tune/examples/nevergrad_example.py \
|
||||
--smoke-test
|
||||
|
||||
$SUPPRESS_OUTPUT docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
|
||||
python /ray/python/ray/tune/examples/tune_mnist_keras.py \
|
||||
|
|
|
@ -12,7 +12,7 @@ RUN apt-get update \
|
|||
&& apt-get clean \
|
||||
&& echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh \
|
||||
&& wget \
|
||||
--quiet 'https://repo.continuum.io/archive/Anaconda2-5.2.0-Linux-x86_64.sh' \
|
||||
--quiet 'https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x86_64.sh' \
|
||||
-O /tmp/anaconda.sh \
|
||||
&& /bin/bash /tmp/anaconda.sh -b -p /opt/conda \
|
||||
&& rm /tmp/anaconda.sh \
|
||||
|
|
|
@ -12,6 +12,7 @@ RUN pip install -U h5py # Mutes FutureWarnings
|
|||
RUN pip install --upgrade bayesian-optimization
|
||||
RUN pip install --upgrade git+git://github.com/hyperopt/hyperopt.git
|
||||
RUN pip install --upgrade sigopt
|
||||
# RUN pip install --upgrade nevergrad
|
||||
RUN pip install --upgrade nevergrad
|
||||
RUN pip install --upgrade scikit-optimize
|
||||
RUN pip install -U pytest-remotedata>=0.3.1
|
||||
RUN conda install pytorch-cpu torchvision-cpu -c pytorch
|
||||
|
|
|
@ -4,7 +4,7 @@ FROM ray-project/base-deps
|
|||
|
||||
# We install ray and boto3 to enable the ray autoscaler as
|
||||
# a test runner.
|
||||
RUN pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.8.0.dev1-cp27-cp27mu-manylinux1_x86_64.whl boto3
|
||||
RUN pip install -U https://ray-wheels.s3-us-west-2.amazonaws.com/latest/ray-0.8.0.dev1-cp36-cp36m-manylinux1_x86_64.whl boto3
|
||||
RUN mkdir -p /root/.ssh/
|
||||
|
||||
# We port the source code in so that we run the most up-to-date stress tests.
|
||||
|
|
|
@ -4,7 +4,7 @@ FROM ray-project/base-deps
|
|||
|
||||
# We install ray and boto3 to enable the ray autoscaler as
|
||||
# a test runner.
|
||||
RUN pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.8.0.dev1-cp27-cp27mu-manylinux1_x86_64.whl boto3
|
||||
RUN pip install -U https://ray-wheels.s3-us-west-2.amazonaws.com/latest/ray-0.8.0.dev1-cp36-cp36m-manylinux1_x86_64.whl boto3
|
||||
# We install this after the latest wheels -- this should not override the latest wheels.
|
||||
RUN apt-get install -y zlib1g-dev
|
||||
# The following is needed to support TensorFlow 1.14
|
||||
|
@ -13,8 +13,9 @@ RUN pip install gym[atari]==0.10.11 opencv-python-headless tensorflow lz4 keras
|
|||
RUN pip install --upgrade bayesian-optimization
|
||||
RUN pip install --upgrade git+git://github.com/hyperopt/hyperopt.git
|
||||
RUN pip install --upgrade sigopt
|
||||
# RUN pip install --upgrade nevergrad
|
||||
RUN pip install --upgrade nevergrad
|
||||
RUN pip install --upgrade scikit-optimize
|
||||
RUN pip install -U pytest-remotedata>=0.3.1
|
||||
RUN conda install pytorch-cpu torchvision-cpu -c pytorch
|
||||
|
||||
# RUN mkdir -p /root/.ssh/
|
||||
|
@ -22,6 +23,6 @@ RUN conda install pytorch-cpu torchvision-cpu -c pytorch
|
|||
# We port the source code in so that we run the most up-to-date stress tests.
|
||||
ADD ray.tar /ray
|
||||
ADD git-rev /ray/git-rev
|
||||
RUN python /ray/python/ray/rllib/setup-rllib-dev.py --yes
|
||||
RUN python /ray/python/ray/setup-dev.py --yes
|
||||
|
||||
WORKDIR /ray
|
||||
|
|
Loading…
Add table
Reference in a new issue