mirror of
https://github.com/wassname/ray.git
synced 2026-10-03 12:50:16 +08:00
[tune] Improve mnist_pytorch.py example (#3894)
## What do these changes do? * Improved --no-cuda handling * Removed deprecated Variable usage ## Related issue number Fixes #3873 <!-- Are there any issues opened that will be resolved by merging this change? -->
This commit is contained in:
1 parent
5fb813ff39
commit
b2b8417790
3 files changed
+28
-31
No files matched your search
@@ -367,12 +367,11 @@ docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
|
||||
--smoke-test
|
||||
|
||||
docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
|
||||
python /ray/python/ray/tune/examples/mnist_pytorch.py \
|
||||
--smoke-test
|
||||
python /ray/python/ray/tune/examples/mnist_pytorch.py --smoke-test --no-cuda
|
||||
|
||||
docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
|
||||
python /ray/python/ray/tune/examples/mnist_pytorch_trainable.py \
|
||||
--smoke-test
|
||||
--smoke-test --no-cuda
|
||||
|
||||
docker run --rm --shm-size=${SHM_SIZE} --memory=${MEMORY_SIZE} $DOCKER_SHA \
|
||||
python /ray/python/ray/tune/examples/genetic_example.py \
|
||||
|
||||
Reference in new issue
Block a user