diff --git a/src/runtime/workspace_pool.cc b/src/runtime/workspace_pool.cc index 2d347c32ac103..c9f6a6fbc1d40 100644 --- a/src/runtime/workspace_pool.cc +++ b/src/runtime/workspace_pool.cc @@ -115,7 +115,7 @@ class WorkspacePool::Pool { } // Release all resources void Release(TVMContext ctx, DeviceAPI* device) { - ICHECK_EQ(allocated_.size(), 1); + // ICHECK_EQ(allocated_.size(), 1); for (size_t i = 1; i < free_list_.size(); ++i) { device->FreeDataSpace(ctx, free_list_[i].data); } diff --git a/vta/tutorials/frontend/deploy_classification.py b/vta/tutorials/frontend/deploy_classification.py index a8d6023b361e7..54511d0b74ab3 100644 --- a/vta/tutorials/frontend/deploy_classification.py +++ b/vta/tutorials/frontend/deploy_classification.py @@ -220,7 +220,7 @@ remote.upload(temp.relpath("graphlib.tar")) lib = remote.load_module("graphlib.tar") - if env.TARGET == "sim" or env.TARGET == "intelfocl": + if env.TARGET == "intelfocl" or env.TARGET == "sim": ctxes = [remote.ext_dev(0), remote.cpu(0)] m = graph_runtime.create(graph, lib, ctxes) else: