-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vulkan Android Tutorial and new feature added #1488
Vulkan Android Tutorial and new feature added #1488
Conversation
Change at 'topi/include/topi/' not recognozed by make.
* fix problem with the latest LLVM * add if-defs to support older LLVMs
************* Module nnvm.top.nn E:141, 8: Assigning to function call which doesn't return (assignment-from-no-return)
[NNVM] Fix softmax gradient
This patch prevents libtvm.so from both containing static parts of LLVM and link with libLLVM.so by removing the latter from link list.
Fix application crash problems on armv7a architectures
* updated readme files to avoid stale instructions * bsp generation turned off by default
* vulkan rpc and java context support * vulkan deploy support extended * vulkan tutorial added * deploy application dynamic flavor change
@tqchen @yzhliu @PariksheetPinjari909 @srkreddy1238 #1439 review comments fixed in this latest PR and update the android_deploy code as per #1457. |
apps/android_deploy/README.md
Outdated
@@ -2,7 +2,7 @@ | |||
|
|||
This folder contains Android Demo app that allows us to show how to deploy model using TVM runtime api on a Android phone. | |||
|
|||
You will need [JDK](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html), [Android SDK](https://developer.android.com/studio/index.html), [Android NDK](https://developer.android.com/ndk) and an Android device to use this. | |||
You will need [JDK](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html), [Android SDK](https://developer.android.com/studio/index.html), [Android NDK](https://developer.android.com/ndk) , [Vulkan SDK](https://github.com/ARM-software/vulkan-sdk) and an Android device to use this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to:
If you want to use Vulkan support, please download Vulkan SDK...
@@ -0,0 +1,39 @@ | |||
# TVM Compiled Models for Android Phone using Darknet frontend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
compile-models -> scripts
README.md
Example script to prepare the pre-trained models
net = darknet_lib.load_network(cfg.encode('utf-8'), weights.encode('utf-8'), 0) | ||
batch_size = 1 | ||
print("Converting darknet to nnvm symbols...") | ||
sym, params = nnvm.frontend.darknet.from_darknet(net, dtype) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since darknet model depends on a local library(libdarknet) from a forked repo, maybe consider using gluoncv model instead, and refer to the tutorials for deploying other models
@dayanandasiet can you please act on the comment? |
Please rebase according to #1394 |
This change will followup with PR. |
#1067 fix