[PATCH] D124417: [mlgo] Factor out TensorSpec

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 13:53:28 PDT 2022


mtrofin created this revision.
mtrofin added a reviewer: yundiqian.
Herald added subscribers: hiraditya, mgorny.
Herald added a project: All.
mtrofin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is a simple datatype with a few JSON utilities, and is independent
of the underlying executor. The main motivation is to allow taking a
dependency on it on the AOT side, and allow us build a correctly-sized
buffer in the cases when the requested feature isn't supported by the
model. This, in turn, allows us to grow the feature set supported by the
compiler in a backward-compatible way; and also collect traces exposing
the new features, but starting off the older model, and continue
training from those new traces.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124417

Files:
  llvm/include/llvm/Analysis/TensorSpec.h
  llvm/include/llvm/Analysis/Utils/TFUtils.h
  llvm/lib/Analysis/CMakeLists.txt
  llvm/lib/Analysis/TFUtils.cpp
  llvm/lib/Analysis/TensorSpec.cpp
  llvm/unittests/Analysis/CMakeLists.txt
  llvm/unittests/Analysis/TFUtilsTest.cpp
  llvm/unittests/Analysis/TensorSpecTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124417.425021.patch
Type: text/x-patch
Size: 27351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220425/0198f9f9/attachment.bin>


More information about the llvm-commits mailing list