Skip to content
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

Closed
wants to merge 910 commits into from
Closed

Vulkan Android Tutorial and new feature added #1488

wants to merge 910 commits into from

Conversation

Dayananda-V
Copy link
Contributor

  • vulkan rpc and java context support
  • vulkan deploy support extended
  • vulkan tutorial added
  • deploy application dynamic flavor change

#1067 fix

kazum and others added 30 commits May 29, 2018 08:47
        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)
@Dayananda-V
Copy link
Contributor Author

@tqchen @yzhliu @PariksheetPinjari909 @srkreddy1238

#1439 review comments fixed in this latest PR and update the android_deploy code as per #1457.
Welcome for review...!!!

@@ -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.
Copy link
Member

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
Copy link
Member

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)
Copy link
Member

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

@tqchen
Copy link
Member

tqchen commented Jul 30, 2018

@dayanandasiet can you please act on the comment?

@tqchen tqchen self-assigned this Aug 1, 2018
@yzhliu
Copy link
Member

yzhliu commented Aug 6, 2018

Please rebase according to #1394
Sorry for the inconvenience.

@Dayananda-V
Copy link
Contributor Author

This change will followup with PR.

@Dayananda-V Dayananda-V closed this Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.