diff options
author | Mircea Trofin <mtrofin@google.com> | 2022-12-05 13:41:27 -0800 |
---|---|---|
committer | Mircea Trofin <mtrofin@google.com> | 2022-12-06 08:12:45 -0800 |
commit | c5ff6f72342e0a4b0ba2ec9f603bedca86721e80 (patch) | |
tree | dcd2fd8a5318315b5ca373a1958f6a7016320d53 /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | |
parent | fa4b518f1d644d60a68639af77386fc925faf8d9 (diff) | |
download | llvm-c5ff6f72342e0a4b0ba2ec9f603bedca86721e80.zip llvm-c5ff6f72342e0a4b0ba2ec9f603bedca86721e80.tar.gz llvm-c5ff6f72342e0a4b0ba2ec9f603bedca86721e80.tar.bz2 |
[mlgo] Dependency-free training mode logger
This is the next step in dropping the dependency on protobuf.
The simple logger produces an output consisting of lines of json
strings. Tensor values - which should constitute the bulk of the data -
are serialized as raw byte buffers. This allows for light-weight reading
of the values.
The next step is to switch the training logic to the new logging format,
following which the protobuf-based logger will be dropped, together with
the training dependency on protobuf.
Subsequent changes will also stop buffering and stream, instead - the
buffering model is just as a convenient point-in-time.
Differential Revision: https://reviews.llvm.org/D139370
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions