Skip to content

Commit

Permalink
disable tests which use python/ray/rllib/tests/data/cartpole_small
Browse files Browse the repository at this point in the history
  • Loading branch information
guoyuhong committed Mar 8, 2019
1 parent 0f1160e commit 6d4773b
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions ci/jenkins_tests/run_rllib_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -258,19 +258,21 @@ docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
--stop '{"training_iteration": 1}' \
--config '{"num_workers": 2, "optimizer": {"num_replay_buffer_shards": 1}, "learning_starts": 100, "min_iter_time_s": 1, "batch_mode": "complete_episodes", "parameter_noise": true}'

docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
/ray/python/ray/rllib/tests/run_silent.sh train.py \
--env CartPole-v0 \
--run MARWIL \
--stop '{"training_iteration": 1}' \
--config '{"input": "/ray/python/ray/rllib/tests/data/cartpole_small", "learning_starts": 0, "input_evaluation": ["wis", "is"], "shuffle_buffer_size": 10}'

docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
/ray/python/ray/rllib/tests/run_silent.sh train.py \
--env CartPole-v0 \
--run DQN \
--stop '{"training_iteration": 1}' \
--config '{"input": "/ray/python/ray/rllib/tests/data/cartpole_small", "learning_starts": 0, "input_evaluation": ["wis", "is"], "soft_q": true}'
# TODO(ericl): reenable the test after fix the arrow serialization error.
# https://github.com/ray-project/ray/pull/4127#issuecomment-468903577
#docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
# /ray/python/ray/rllib/tests/run_silent.sh train.py \
# --env CartPole-v0 \
# --run MARWIL \
# --stop '{"training_iteration": 1}' \
# --config '{"input": "/ray/python/ray/rllib/tests/data/cartpole_small", "learning_starts": 0, "input_evaluation": ["wis", "is"], "shuffle_buffer_size": 10}'

#docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
# /ray/python/ray/rllib/tests/run_silent.sh train.py \
# --env CartPole-v0 \
# --run DQN \
# --stop '{"training_iteration": 1}' \
# --config '{"input": "/ray/python/ray/rllib/tests/data/cartpole_small", "learning_starts": 0, "input_evaluation": ["wis", "is"], "soft_q": true}'

docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
/ray/python/ray/rllib/tests/run_silent.sh tests/test_local.py
Expand Down Expand Up @@ -360,8 +362,10 @@ docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
/ray/python/ray/rllib/tests/run_silent.sh examples/cartpole_lstm.py --stop=200 --use-prev-action-reward

docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
/ray/python/ray/rllib/tests/run_silent.sh examples/custom_loss.py --iters=2
# TODO(ericl): reenable the test after fix the arrow serialization error.
# https://github.com/ray-project/ray/pull/4127#issuecomment-468903577
#docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
# /ray/python/ray/rllib/tests/run_silent.sh examples/custom_loss.py --iters=2

docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
/ray/python/ray/rllib/tests/run_silent.sh examples/custom_metrics_and_callbacks.py --num-iters=2
Expand Down

0 comments on commit 6d4773b

Please sign in to comment.