[PATCH] D81515: [llvm] Release-mode ML InlineAdvisor

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 08:51:23 PDT 2020


mtrofin added a comment.

In D81515#2344805 <https://reviews.llvm.org/D81515#2344805>, @AmirJamez wrote:

> Hi Mircea, Could you also provide the information on what specific tf-nightly, protobuf version did you guys use to save the two frozen models? Unfortunately, I don't seem to load the models using a number of tf-nighly versions and am receiving
>
>   google.protobuf.message.DecodeError: Error parsing message
>
> After further investigations, I noticed this has been done using the new `TF's SavedModel` method and `Keras` : https://tensorflow.google.cn/tutorials/keras/save_and_load?hl=en#save_checkpoints_during_training
>
> Would you provide scripts to load the model and see the layers?
>
> Thanks,
>
> - Amir

Hello Amir,

to answer the first question (but I think you figured that already), the authoritative versions are captured in the bot script, available at https://github.com/google/ml-compiler-opt/blob/master/buildbot/buildbot_init.sh

Re. second question, visualization - this is a question for Yundi, Gaurav, or Eugene (they are the ML experts). I'll venture "tensorboard" as an answer, but I'll make sure they give the authoritative one in a moment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81515/new/

https://reviews.llvm.org/D81515



More information about the llvm-commits mailing list