Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
yolov5_tvm
Commits
346b6bc7
Commit
346b6bc7
authored
Oct 07, 2023
by
zhangqha
Browse files
update
parent
46927f4d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
README.md
README.md
+6
-1
run_example.sh
run_example.sh
+1
-2
tvm_runtime_pack.cc
tvm_runtime_pack.cc
+2
-0
No files found.
README.md
View file @
346b6bc7
...
@@ -63,7 +63,12 @@ COCO2017(在网络良好的情况下,如果没有下载数据集,程序会
...
@@ -63,7 +63,12 @@ COCO2017(在网络良好的情况下,如果没有下载数据集,程序会
CPP Deploy测试参考:
CPP Deploy测试参考:
```
```
prepare_test_libs.py
cd yolov5s_tvm
mkdir lib
ulimit -s unlimited
export MIOPEN_DEBUG_CONV_IMPLICIT_GEMM=0
export HIP_VISIBLE_DEVICES=2(此处修改为对应加速卡ID号)
python3 prepare_test_libs.py
bash run_example.sh
bash run_example.sh
```
```
Python Deploy测试参考:
Python Deploy测试参考:
...
...
run_example.sh
View file @
346b6bc7
...
@@ -16,12 +16,11 @@
...
@@ -16,12 +16,11 @@
# specific language governing permissions and limitations
# specific language governing permissions and limitations
# under the License.
# under the License.
echo
"Build the libraries.."
echo
"Build the libraries.."
mkdir
-p
lib
make
make
echo
"Run the example"
echo
"Run the example"
export
LD_LIBRARY_PATH
=
../../build:
${
LD_LIBRARY_PATH
}
export
LD_LIBRARY_PATH
=
../../build:
${
LD_LIBRARY_PATH
}
export
DYLD_LIBRARY_PATH
=
../../build:
${
DYLD_LIBRARY_PATH
}
export
DYLD_LIBRARY_PATH
=
../../build:
${
DYLD_LIBRARY_PATH
}
export
ROCBLAS_TENSILE_LIBPATH
=
/opt/dtk
-22.10
/lib/rocblas/library/
export
ROCBLAS_TENSILE_LIBPATH
=
/opt/dtk/lib/rocblas/library/
...
...
tvm_runtime_pack.cc
View file @
346b6bc7
...
@@ -51,6 +51,8 @@
...
@@ -51,6 +51,8 @@
#include "../../src/runtime/thread_pool.cc"
#include "../../src/runtime/thread_pool.cc"
#include "../../src/runtime/threading_backend.cc"
#include "../../src/runtime/threading_backend.cc"
#include "../../src/runtime/workspace_pool.cc"
#include "../../src/runtime/workspace_pool.cc"
#include "../../src/runtime/contrib/miopen/conv_forward.cc"
#include "../../src/runtime/contrib/miopen/miopen_utils.cc"
#include "../../src/runtime/rocm/rocm_module.cc"
#include "../../src/runtime/rocm/rocm_module.cc"
#include "../../src/runtime/rocm/rocm_device_api.cc"
#include "../../src/runtime/rocm/rocm_device_api.cc"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment