Unverified Commit a1b28b39 authored by VoVAllen's avatar VoVAllen Committed by GitHub
Browse files

[Hot fix] Fix build threads (#1133)

* tf

* add builtin support

* fiix

* pytest

* fix

* fix

* fix some bugs

* fix selecting

* fix todo

* fix test

* fix test fail in tf

* fix

* fix

* fix gather row

* fix gather row

* log backend

* fix gather row

* fix gather row

* fix for pytorch

* fix

* fix

* fix

* fix

* fix

* fix tests

* fix

* fix

* fix

* fix

* fix

* fix

* fix convert

* fix

* fix

* fix

* fix inplace

* add alignment setting

* add debug option

* Revert "add alignment setting"

This reverts commit ec63fb3506ea84fff7d447a1fbdfd1d5d1fb6110.

* tf ci

* fix lint

* fix lint

* add tfdlpack

* fix type

* add env

* fix backend

* fix

* fix tests

* remove one_hot

* remove comment

* remove comment

* fix

* use pip to install all

* fix test

* fix base

* fix

* fix

* add skip

* upgrade cmake

* change version

* change ci

* fix

* fix

* fix

* fix

* fix seg fault

* fix

* fix python version

* fix

* try fix

* fix

* fix

* tf takes longer time in ci

* change py version

* fix

* fix

* fix oom

* change kg env

* change kg env

* 啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊

* 我再也不搞各种乱七八糟环境了……

* use pytest

* Chang image

* try node

* try

* fix

* try new ci

* try new ci

* try new ci

* try new ci

* ci

* try

* try

* fix

* hot fix

* fix

* fix cpp test

* add comments
parent 2ab4d0e1
...@@ -117,6 +117,11 @@ WorkspacePool::WorkspacePool(DLDeviceType device_type, std::shared_ptr<DeviceAPI ...@@ -117,6 +117,11 @@ WorkspacePool::WorkspacePool(DLDeviceType device_type, std::shared_ptr<DeviceAPI
} }
WorkspacePool::~WorkspacePool() { WorkspacePool::~WorkspacePool() {
/*
Comment out the destruct of WorkspacePool, due to Segmentation fault with MXNet
Since this will be only called at the termination of process,
not manually wiping out should not cause problems.
*/
// for (size_t i = 0; i < array_.size(); ++i) { // for (size_t i = 0; i < array_.size(); ++i) {
// if (array_[i] != nullptr) { // if (array_[i] != nullptr) {
// DGLContext ctx; // DGLContext ctx;
......
...@@ -303,6 +303,8 @@ def test_all_binary_builtins(): ...@@ -303,6 +303,8 @@ def test_all_binary_builtins():
def _print_error(a, b): def _print_error(a, b):
print("ERROR: Test {}_{}_{}_{} broadcast: {} partial: {}". print("ERROR: Test {}_{}_{}_{} broadcast: {} partial: {}".
format(lhs, binary_op, rhs, reducer, broadcast, partial)) format(lhs, binary_op, rhs, reducer, broadcast, partial))
print("Nodes", g.nodes())
print("Edges:" ,g.edges())
for i, (x, y) in enumerate(zip(F.asnumpy(a).flatten(), F.asnumpy(b).flatten())): for i, (x, y) in enumerate(zip(F.asnumpy(a).flatten(), F.asnumpy(b).flatten())):
if not np.allclose(x, y, rtol, atol): if not np.allclose(x, y, rtol, atol):
print('@{} {} v.s. {}'.format(i, x, y)) print('@{} {} v.s. {}'.format(i, x, y))
......
...@@ -22,7 +22,7 @@ rm -rf _download ...@@ -22,7 +22,7 @@ rm -rf _download
pushd build pushd build
cmake $CMAKE_VARS .. cmake $CMAKE_VARS ..
make -j8 make -j4
popd popd
pushd python pushd python
......
#!/bin/bash #!/bin/bash
echo $PWD echo $PWD
ls -lh
pushd build pushd build
./runUnitTests ls -lh
export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH
./runUnitTests || fail "CPP unit test"
popd popd
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment