Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
icemelon committed Mar 24, 2021
1 parent 556a922 commit 1eb8653
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/frontend/mxnet/test_forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -1936,7 +1936,7 @@ def verify(
):
target += " -libs=thrust"
for kind in ["graph", "debug"]:
intrp = relay.create_executor(kind, mod=mod, dev=dev, target=target)
intrp = relay.create_executor(kind, mod=mod, device=dev, target=target)
op_res = intrp.evaluate()(data)
tvm.testing.assert_allclose(
op_res.asnumpy(), ref_res.asnumpy(), rtol=1e-3, atol=1e-5
Expand Down
4 changes: 4 additions & 0 deletions tests/scripts/task_python_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ find . -type f -path "*.log" | xargs rm -f
find . -type f -path "*.pyc" | xargs rm -f
make cython3

# cleanup stale states for rust
rm rust/tvm-sys/src/c_runtime_api.rs
rm -rf rust/target/doc

cd docs
PYTHONPATH=`pwd`/../python make html |& tee /tmp/$$.log.txt
if grep -E "failed to execute|Segmentation fault" < /tmp/$$.log.txt; then
Expand Down

0 comments on commit 1eb8653

Please sign in to comment.