From 3ee3b91994f885767af4cbb85712fa902d949e33 Mon Sep 17 00:00:00 2001 From: yezhengmao1 Date: Wed, 9 Apr 2025 11:57:39 +0000 Subject: [PATCH] [lynx] --- lynx/end_to_end_mfu.ipynb | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/lynx/end_to_end_mfu.ipynb b/lynx/end_to_end_mfu.ipynb index db8e514..84e50ff 100644 --- a/lynx/end_to_end_mfu.ipynb +++ b/lynx/end_to_end_mfu.ipynb @@ -52,7 +52,7 @@ }, { "cell_type": "code", - "execution_count": 180, + "execution_count": 187, "metadata": {}, "outputs": [], "source": [ @@ -69,7 +69,7 @@ }, { "cell_type": "code", - "execution_count": 181, + "execution_count": 188, "metadata": {}, "outputs": [], "source": [ @@ -85,6 +85,30 @@ "}" ] }, + { + "cell_type": "code", + "execution_count": 189, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "LM 1.08 XLA 1.3\n", + "LM 1.66 XLA 1.18\n", + "LM 1.64 XLA 1.25\n", + "LM 1.2 XLA 1.47\n", + "LM 1.08 XLA 1.14\n", + "LM 1.11 XLA 1.47\n", + "LM -38.0 XLA 1.2\n" + ] + } + ], + "source": [ + "for y_data in data_a.values():\n", + " print(f\"LM {round(y_data[2]/y_data[0], 2)} XLA {round(y_data[2]/y_data[1], 2)}\")" + ] + }, { "cell_type": "code", "execution_count": 182,