Solution for TensorFlow 1.15 / 2.x(2.6+) mixed compilation

51 views
Skip to first unread message

aurora

unread,
Sep 5, 2022, 10:50:27 PM9/5/22
to SIG Build
In many cloud services provided by cloud vendors, many people are still using TensorFlow 1.15 for many reasons, and they do not upgrade TensorFlow versions easily for service stability.
 However, for many operators, such as Intel MKL operator, the latest version update is in TensorFlow version 2.x instead of TensorFlow 1.15, so if you want to use the latest version of the operator in TensorFlow 1.15, you need to solve the operator replacement and compilation problems. 
I would like to provide a compiled example (TensorFlow 1.15 / TensorFlow 2.6.0 mixed compilation) and detailed step-by-step documentation to developers who encounter such problems, to help them use the latest Intel MKL operators for better inference performance on CPU while keeping TensorFlow 1.15 version unchanged.

So I want to push the code and documentation to the official community to help people with this need, how and where is it appropriate to post it?
Thank you!

Austin Anderson

unread,
Sep 6, 2022, 2:02:02 PM9/6/22
to aurora, SIG Build
Thanks for reaching out.

You could create a PR to create a tutorial in the tensorflow/build repository. Follow the instructions here: https://github.com/tensorflow/build/blob/master/CONTRIBUTING.md

Austin

--
To unsubscribe from this group and stop receiving emails from it, send an email to build+un...@tensorflow.org.

aurora

unread,
Nov 21, 2022, 10:37:02 PM11/21/22
to SIG Build, ange...@google.com, SIG Build, aurora
Hi, 
Sorry for the late reply, I've been quite busy lately and just had the time to do this. 
I've had a look at this instruction https://github.com/tensorflow/build/blob/master/CONTRIBUTING.md and it looks like the list is all about maintaining a specific version of TF.
But I want offering a DEMO and solution for a hybrid compilation, which doesn't seem to fit well into this repo, am I understanding this correctly? Is there a more suitable repository for submissions
Thank you!

Austin Anderson

unread,
Nov 29, 2022, 1:09:58 PM11/29/22
to aurora, SIG Build
The "Community Builds Table" section in CONTRIBUTING.md refers to the "Community Supported Builds" table on the main README.md. As you can see, there are projects in the Project Showcase that are not related to that builds table, and which are about old or officially-unsupported builds.

This repository is the best place to put what you want.
Reply all
Reply to author
Forward
0 new messages