Skip to content

This is a example for how to use Ahead-Of-Time (AOT) compilation on TensorFlow XLA

Notifications You must be signed in to change notification settings

cwz920716/tensorflow-plugins-for-XLA-AOT

Repository files navigation

This is a example for how to use Ahead-Of-Time (AOT) compilation on TensorFlow XLA (https://www.tensorflow.org/performance/xla/tfcompile). The code are extracted form the TensorFlow github repo.

Usage:

1. Clone Tensorflow github repo. Configure the repo with XLA enabled. Create a folder named plugins.

2. Download all code here and put them in tensoflow/plugins folder.

3. build --config=opt //plugins:my_binary

4. execute bazel-bin/plugins/my_binary and it should return "Success".

About

This is a example for how to use Ahead-Of-Time (AOT) compilation on TensorFlow XLA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published