[all-commits] [llvm/llvm-project] acabaf: [llvm][NFC] ML Policies: changed the saved_model p...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Mon Jul 13 11:07:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: acabaf600b7a28079721dd934d448aecc7c41cad
      https://github.com/llvm/llvm-project/commit/acabaf600b7a28079721dd934d448aecc7c41cad
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    R llvm/lib/Analysis/models/inliner/saved_model.pb
    A llvm/lib/Analysis/models/inliner/saved_model.pbtxt
    A llvm/lib/Analysis/models/inliner/variables/variables.data-00000-of-00001
    R llvm/lib/Analysis/models/inliner/variables/variables.data-00000-of-00002
    R llvm/lib/Analysis/models/inliner/variables/variables.data-00001-of-00002
    M llvm/lib/Analysis/models/inliner/variables/variables.index

  Log Message:
  -----------
  [llvm][NFC] ML Policies: changed the saved_model protobuf to text

Also compacted the checkpoints (variables) to one file (plus the index).

This reduces the binary model files to just the variables and their
index. The index is very small. The variables are serialized float
arrays. When updated through training, the changes are very likely
unlocalized, so there's very little value in them being anything else
than binary.




More information about the All-commits mailing list