Migrate repositories to ray-project. (#438)

* Migrate repositories to ray-project.

* Update numbuf to the migrated version.
This commit is contained in:
Robert Nishihara
2016-09-17 00:52:05 -07:00
committed by Philipp Moritz
parent 4fc42c3e1e
commit 91f16a3df0
17 changed files with 34 additions and 34 deletions
+2 -2
View File
@@ -146,7 +146,7 @@ class ObjStoreTest(unittest.TestCase):
result = ray.get(objectid, w1)
assert_equal(result, data)
# This test fails. See https://github.com/amplab/ray/issues/159.
# This test fails. See https://github.com/ray-project/ray/issues/159.
# getting multiple times shouldn't matter
# for data in [np.zeros([10, 20]), np.random.normal(size=[45, 25]), np.zeros([10, 20], dtype=np.dtype("float64")), np.zeros([10, 20], dtype=np.dtype("float32")), np.zeros([10, 20], dtype=np.dtype("int64")), np.zeros([10, 20], dtype=np.dtype("int32"))]:
# objectid = worker.put(data, w1)
@@ -564,7 +564,7 @@ class ReferenceCountingTest(unittest.TestCase):
self.assertEqual(ray.scheduler_info()["reference_counts"][objectid], -1)
# Getting an object multiple times and assigning it to the same name should
# work. This was a problem in https://github.com/amplab/ray/issues/159.
# work. This was a problem in https://github.com/ray-project/ray/issues/159.
for val in [np.zeros(10), [np.zeros(10)], (((np.zeros(10)),),), {(): np.zeros(10)}, [1, 2, 3, np.zeros(1)]]:
x = ray.put(val)
objectid = x.id
+2 -2
View File
@@ -16,9 +16,9 @@ if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
# We tar the current checkout, then include it in the Docker image
tar --exclude './docker' -c . > ./docker/test-base/ray.tar
docker build --no-cache -t amplab/ray:test-base docker/test-base
docker build --no-cache -t ray-project/ray:test-base docker/test-base
rm ./docker/test-base/ray.tar
docker build --no-cache -t amplab/ray:test-examples docker/test-examples
docker build --no-cache -t ray-project/ray:test-examples docker/test-examples
docker ps -a
else
# Mac OS X test
+2 -2
View File
@@ -6,7 +6,7 @@
# the Mac OS X tests.
#
# Usage:
#
#
# run_test.sh [OPTIONS] [COMMAND]
#
# Key options are:
@@ -18,7 +18,7 @@
# Example:
#
# run_test.sh --docker-only --shm-size=500m \
# --docker-image=amplab/ray:test-examples \
# --docker-image=ray-project/ray:test-examples \
# 'source setup-env.sh && cd examples/lbfgs && python driver.py'
#
# For further examples see this project's .travis.yml