<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/Analysis/TrainingLogger.cpp, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>Remove unused standard headers: &lt;string&gt;, &lt;optional&gt;, &lt;numeric&gt;, &lt;tuple&gt; (#167232)</title>
<updated>2025-11-10T12:17:12+00:00</updated>
<author>
<name>serge-sans-paille</name>
<email>sguelton@mozilla.com</email>
</author>
<published>2025-11-10T12:17:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=28d9f99a27aed5c431687cf720e20d2c2367d532'/>
<id>28d9f99a27aed5c431687cf720e20d2c2367d532</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[MLGO] Remove -tfutils-use-simplelogger flag (#72492)</title>
<updated>2023-11-16T20:50:46+00:00</updated>
<author>
<name>Aiden Grossman</name>
<email>agrossman154@yahoo.com</email>
</author>
<published>2023-11-16T20:50:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cdfb51295d814a875925974364931ef4337641e1'/>
<id>cdfb51295d814a875925974364931ef4337641e1</id>
<content type='text'>
This flag was redundant and the value was not used anywhere, so it
should be removed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This flag was redundant and the value was not used anywhere, so it
should be removed.</pre>
</div>
</content>
</entry>
<entry>
<title>[mlgo] Allow logging the spec for the "advice", if needed</title>
<updated>2023-02-01T18:24:38+00:00</updated>
<author>
<name>Mircea Trofin</name>
<email>mtrofin@google.com</email>
</author>
<published>2023-02-01T18:23:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=35aa73746c85563912765567850346b48c6610e6'/>
<id>35aa73746c85563912765567850346b48c6610e6</id>
<content type='text'>
This is for the interactive model runner, so it can confirm the tensor
spec of the advice with its host.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is for the interactive model runner, so it can confirm the tensor
spec of the advice with its host.
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlgo] Stream the training data</title>
<updated>2023-01-20T15:01:08+00:00</updated>
<author>
<name>Mircea Trofin</name>
<email>mtrofin@google.com</email>
</author>
<published>2023-01-20T01:37:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6d11baf02b33c3ec89178f94627ecec5025dac7e'/>
<id>6d11baf02b33c3ec89178f94627ecec5025dac7e</id>
<content type='text'>
This leverages the new logging format in that we don't need to buffer
the training data, we can just write it out.

Differential Revision: https://reviews.llvm.org/D142168
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This leverages the new logging format in that we don't need to buffer
the training data, we can just write it out.

Differential Revision: https://reviews.llvm.org/D142168
</pre>
</div>
</content>
</entry>
<entry>
<title>[nfc][mlgo] Remove abstraction layers for training logger</title>
<updated>2023-01-18T00:19:38+00:00</updated>
<author>
<name>Mircea Trofin</name>
<email>mtrofin@google.com</email>
</author>
<published>2023-01-17T21:57:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9bd69ae8f77e6339733ab8ef7783b5c73cffdb98'/>
<id>9bd69ae8f77e6339733ab8ef7783b5c73cffdb98</id>
<content type='text'>
This follows from D141720

Differential Revision: https://reviews.llvm.org/D141967
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This follows from D141720

Differential Revision: https://reviews.llvm.org/D141967
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix OSX build break introduced by D141720</title>
<updated>2023-01-17T23:31:02+00:00</updated>
<author>
<name>Mircea Trofin</name>
<email>mtrofin@google.com</email>
</author>
<published>2023-01-17T23:14:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d581308da41260cadc7592004148f01371ea1956'/>
<id>d581308da41260cadc7592004148f01371ea1956</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Analysis] Fix a warning</title>
<updated>2023-01-17T21:36:02+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2023-01-17T21:36:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=861abbed4d97a53e1d641e54d00cff1edce6523f'/>
<id>861abbed4d97a53e1d641e54d00cff1edce6523f</id>
<content type='text'>
This patch fixes:

  llvm/include/llvm/Analysis/Utils/TrainingLogger.h:94:14: error:
  private field 'IncludeReward' is not used
  [-Werror,-Wunused-private-field]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes:

  llvm/include/llvm/Analysis/Utils/TrainingLogger.h:94:14: error:
  private field 'IncludeReward' is not used
  [-Werror,-Wunused-private-field]
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlgo] Remove the protobuf dependency</title>
<updated>2023-01-17T21:12:27+00:00</updated>
<author>
<name>Mircea Trofin</name>
<email>mtrofin@google.com</email>
</author>
<published>2023-01-13T20:22:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5898be19e66d97662e9d87c526105c6ebd961cba'/>
<id>5898be19e66d97662e9d87c526105c6ebd961cba</id>
<content type='text'>
The dependency was due to the log format. This change switches to the
previously-introduced (D139370) "dependency-free" logger instead of the
protobuf-based one.

A subsequent change will clean out the unnecessary abstraction left
behind.

This change drops the logger unittest, we have sufficient test coverage
via lit tests, and a unit test would require adding, unnecesarily, a log
reader (the reader is expected to be python, for the ML side, and there
is a reader for that under Analysis/models, used for tests).

Differential Revision: https://reviews.llvm.org/D141720
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The dependency was due to the log format. This change switches to the
previously-introduced (D139370) "dependency-free" logger instead of the
protobuf-based one.

A subsequent change will clean out the unnecessary abstraction left
behind.

This change drops the logger unittest, we have sufficient test coverage
via lit tests, and a unit test would require adding, unnecesarily, a log
reader (the reader is expected to be python, for the ML side, and there
is a reader for that under Analysis/models, used for tests).

Differential Revision: https://reviews.llvm.org/D141720
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlgo] Use LLVM_HAVE_TFLITE instead of LLVM_HAVE_TF_API in C++ code (NFC)</title>
<updated>2022-12-12T19:28:40+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2022-12-12T19:28:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=edc83a15b45e6b91fce3f35622a6b0a6d34e5211'/>
<id>edc83a15b45e6b91fce3f35622a6b0a6d34e5211</id>
<content type='text'>
We use LLVM_HAVE_TFLITE as the key to enable the mlgo work these days,
and LLVM_HAVE_TF_API is defined whenever LLVM_HAVE_TF_API is defined.

I'm posting this patch because it's purely mechanical.

I'll post a follow-up patch to remove LLVM_HAVE_TF_API in non-C++
files, and that will not be as mechanical as this one.

Differential Revision: https://reviews.llvm.org/D139863
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We use LLVM_HAVE_TFLITE as the key to enable the mlgo work these days,
and LLVM_HAVE_TF_API is defined whenever LLVM_HAVE_TF_API is defined.

I'm posting this patch because it's purely mechanical.

I'll post a follow-up patch to remove LLVM_HAVE_TF_API in non-C++
files, and that will not be as mechanical as this one.

Differential Revision: https://reviews.llvm.org/D139863
</pre>
</div>
</content>
</entry>
<entry>
<title>Reapply "[mlgo] Dependency-free training mode logger"</title>
<updated>2022-12-06T18:29:50+00:00</updated>
<author>
<name>Mircea Trofin</name>
<email>mtrofin@google.com</email>
</author>
<published>2022-12-06T18:21:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4c97745bf037aa063ce3b442d1b8bd23b22acd6c'/>
<id>4c97745bf037aa063ce3b442d1b8bd23b22acd6c</id>
<content type='text'>
This reverts commit 8abe7b11f74bea63d3134c144137b72146da0c7b.

Added the missing cast which was causing a build problem on certain compilers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 8abe7b11f74bea63d3134c144137b72146da0c7b.

Added the missing cast which was causing a build problem on certain compilers.
</pre>
</div>
</content>
</entry>
</feed>
