<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://cmp.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Mmapeak</id>
	<title>Mmapeak - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cmp.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Mmapeak"/>
	<link rel="alternate" type="text/html" href="https://cmp.wiki/w/index.php?title=Mmapeak&amp;action=history"/>
	<updated>2026-10-31T11:25:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://cmp.wiki/w/index.php?title=Mmapeak&amp;diff=339&amp;oldid=prev</id>
		<title>ImportBot: Import: mmapeak and torch-performance-test-data, @jimtjames, @rh3dai; repos ReinForce-II/mmapeak, cachenetics/170tune, zzc0721/torch-performance-test-data</title>
		<link rel="alternate" type="text/html" href="https://cmp.wiki/w/index.php?title=Mmapeak&amp;diff=339&amp;oldid=prev"/>
		<updated>2026-10-30T08:38:28Z</updated>

		<summary type="html">&lt;p&gt;Import: mmapeak and torch-performance-test-data, @jimtjames, @rh3dai; repos ReinForce-II/mmapeak, cachenetics/170tune, zzc0721/torch-performance-test-data&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:38, 30 October 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{DISPLAYTITLE:mmapeak}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Status|Reported}} {{Cards|both}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Status|Reported}} {{Cards|both}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key cmp_wiki:diff:1.41:old-187:rev-339:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>ImportBot</name></author>
	</entry>
	<entry>
		<id>https://cmp.wiki/w/index.php?title=Mmapeak&amp;diff=187&amp;oldid=prev</id>
		<title>ImportBot: Import: mmapeak and torch-performance-test-data, @jimtjames, @rh3dai; repos ReinForce-II/mmapeak, cachenetics/170tune, zzc0721/torch-performance-test-data</title>
		<link rel="alternate" type="text/html" href="https://cmp.wiki/w/index.php?title=Mmapeak&amp;diff=187&amp;oldid=prev"/>
		<updated>2026-10-30T08:04:45Z</updated>

		<summary type="html">&lt;p&gt;Import: mmapeak and torch-performance-test-data, @jimtjames, @rh3dai; repos ReinForce-II/mmapeak, cachenetics/170tune, zzc0721/torch-performance-test-data&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Status|Reported}} {{Cards|both}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;mmapeak&amp;#039;&amp;#039;&amp;#039; is a small CUDA benchmark that measures peak tensor-core throughput for each data type. In the Discord it is the tool to ask a seller to run before you buy, to show the card&amp;#039;s tensor cores work at full rate; [[#torch-performance-test-data|a PyTorch GEMM benchmark]] is the second option. {{Source|handle=jimtjames|date=2026-10-11|link=https://discord.com/channels/1518634379604136178/1518695289278566450/1558871079395663902}} Author: GitHub ReinForce-II. Repository: https://github.com/ReinForce-II/mmapeak&lt;br /&gt;
&lt;br /&gt;
== Build and run ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone https://github.com/ReinForce-II/mmapeak &amp;amp;&amp;amp; cd mmapeak&lt;br /&gt;
mkdir build &amp;amp;&amp;amp; cd build &amp;amp;&amp;amp; cmake .. &amp;amp;&amp;amp; make&lt;br /&gt;
./mmapeak            # default target 3 s per kernel&lt;br /&gt;
./mmapeak -t 10      # longer per kernel&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Each kernel prints &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;run: &amp;lt;ms&amp;gt; &amp;lt;T(fl)ops&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;not supported&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. The CMake file builds for sm_75 to sm_120; CUDA 12.8.1 or later is recommended. {{Source|handle=jimtjames|date=2026-10-11|link=https://discord.com/channels/1518634379604136178/1518695289278566450/1558871079395663902|repo=https://github.com/ReinForce-II/mmapeak}}.&lt;br /&gt;
&lt;br /&gt;
== Reading it on a CMP 170HX ==&lt;br /&gt;
The 170HX is sm_80 (GA100). Only the INT4, INT8, FP16, BF16 and TF32 rows run; FP8, FP6, FP4 and MX rows print &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;not supported&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. The rows that matter: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;mma_s4s4s32_8_8_32&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;mma_s8s8s32_*&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;mma_f16f16f16_*&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;mma_f16f16f32_*&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;mma_bf16bf16f32_*&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;mma_tf32tf32f32_16_16_8&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. {{Source|handle=jimtjames|date=2026-10-11|link=https://discord.com/channels/1518634379604136178/1518695289278566450/1558871079395663902|repo=https://github.com/ReinForce-II/mmapeak}}.&lt;br /&gt;
&lt;br /&gt;
Expected: 150 to 200 TFLOPS on BF16 and FP16. About 83 TFLOPS on TF32 is normal; that is also what &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;gpu-burn -tc&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; reports. {{Source|handle=jimtjames|date=2026-10-11|link=https://discord.com/channels/1518634379604136178/1518695289278566450/1558871079395663902}} mmapeak loops matrix instructions on zero-filled data, so it measures peak issue rate and reads higher than a real GEMM. {{Source|handle=jimtjames|date=2026-10-11|link=https://discord.com/channels/1518634379604136178/1518695289278566450/1558871079395663902|repo=https://github.com/ReinForce-II/mmapeak}}. For comparison, the [[170tune]] reference 8 GB card measured BF16 188 to 193, FP16 159 to 160 and TF32 89 to 92 TFLOPS in GEMM at stock. {{Source|handle=rh3dai|date=2026-10-04|link=https://discord.com/channels/1518634379604136178/1518695289278566450/1556287917775655053|repo=https://github.com/cachenetics/170tune}}.&lt;br /&gt;
&lt;br /&gt;
== torch-performance-test-data ==&lt;br /&gt;
A PyTorch square-GEMM benchmark with a public results table (Chinese README). Its table has one row labelled CMP170HX, contributed by GitHub user bendy2: FP32 12.15, TF32 77.09, FP16 166.48, BF16 177.91 TFLOPS (older v1 protocol, no host details). Two unlabelled &amp;quot;NVIDIA Graphics Device&amp;quot; rows nearby match the same profile but are not confirmed as 170HX. For scale, the same table lists an A100 SXM4 80GB at 258.74 FP16 and 264.53 BF16, and an RTX 3090 at 75.64 FP16. {{Source|handle=jimtjames|date=2026-10-11|link=https://discord.com/channels/1518634379604136178/1518695289278566450/1558871079395663902|repo=https://github.com/zzc0721/torch-performance-test-data}}.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone https://github.com/zzc0721/torch-performance-test-data &amp;amp;&amp;amp; cd torch-performance-test-data&lt;br /&gt;
uv sync &amp;amp;&amp;amp; uv run test.py                       # or: python test.py&lt;br /&gt;
uv run test.py --device cuda:1 --sizes 2048 4096 8192&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Needs torch 2.7 or newer and Python 3.10 or newer. Version 2 of the benchmark reports the median TFLOPS and its spread per matrix size; do not submit results with a spread (CV) above 5 percent. {{Source|handle=jimtjames|date=2026-10-11|link=https://discord.com/channels/1518634379604136178/1518695289278566450/1558871079395663902|repo=https://github.com/zzc0721/torch-performance-test-data}}.&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
* Neither tool is CMP-specific. mmapeak has no 170HX output in its repository and no licence file; its last commit is 2025-12-09. torch-performance-test-data has no licence file either. {{Source|handle=jimtjames|date=2026-10-11|link=https://discord.com/channels/1518634379604136178/1518695289278566450/1558871079395663902|repo=https://github.com/ReinForce-II/mmapeak}}.&amp;lt;br /&amp;gt;{{Source|handle=jimtjames|date=2026-10-11|link=https://discord.com/channels/1518634379604136178/1518695289278566450/1558871079395663902|repo=https://github.com/zzc0721/torch-performance-test-data}}.&lt;br /&gt;
* Throughput says the tensor cores run at full rate, not that they compute correct results. Check correctness separately; see [[Testing and burn-in]].&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Testing and burn-in]]&lt;br /&gt;
* [[Buying]]&lt;br /&gt;
* [[Tools]]&lt;br /&gt;
&lt;br /&gt;
{{ImportFooter}}&lt;br /&gt;
[[Category:Tools]]&lt;br /&gt;
[[Category:8 GB]]&lt;br /&gt;
[[Category:10 GB]]&lt;/div&gt;</summary>
		<author><name>ImportBot</name></author>
	</entry>
</feed>