From e4c21facb47ef400fb77a4139ed9599032ce3289 Mon Sep 17 00:00:00 2001
From: Benoit Chevallier-Mames <64148533+bcm-at-zama@users.noreply.github.com>
Date: Tue, 23 Jul 2024 16:03:12 +0200
Subject: [PATCH] chore: minor clarifications in the WP notebook (#779)
---
.../WhitePaperExperiments.ipynb | 27 +++++++++++--------
1 file changed, 16 insertions(+), 11 deletions(-)
diff --git a/use_case_examples/white_paper_experiment/WhitePaperExperiments.ipynb b/use_case_examples/white_paper_experiment/WhitePaperExperiments.ipynb
index ecd8dccbb..1a8c45633 100644
--- a/use_case_examples/white_paper_experiment/WhitePaperExperiments.ipynb
+++ b/use_case_examples/white_paper_experiment/WhitePaperExperiments.ipynb
@@ -577,9 +577,7 @@
"source": [
"## Conclusion\n",
"\n",
- "Here is a recap of the results obtained by running this notebook, compared to the results in the whitepaper [1].\n",
- "\n",
- "A pre-computed comparison to a `hpc7a` instance with 192 vCPU is also shown when running this notebook on a large server machine."
+ "Here is a recap of the results obtained by running this notebook on a `m6i.metal` instance, compared to the results in the whitepaper [1]."
]
},
{
@@ -599,9 +597,9 @@
"
Num Layers | \n",
" Accuracy [1] | \n",
" FHE Latency [1] | \n",
- " Our Accuracy fp32 | \n",
- " Our Accuracy FHE | \n",
- " Our FHE Latency | \n",
+ " Our m6i.metal Accuracy fp32 | \n",
+ " Our m6i.metal Accuracy FHE | \n",
+ " Our m6i.metal FHE Latency | \n",
" Speedup | \n",
" \n",
" \n",
@@ -639,10 +637,17 @@
}
],
"source": [
- "df, fmt = format_results_df(PAPER_NOTES, results_cml, \"Our\")\n",
+ "df, fmt = format_results_df(PAPER_NOTES, results_cml, \"Our m6i.metal\")\n",
"df.style.format(fmt)"
]
},
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "A pre-computed comparison to a `hpc7a.96xlarge` instance with 192 vCPU is also shown when running this notebook on a large server machine."
+ ]
+ },
{
"cell_type": "code",
"execution_count": 8,
@@ -660,9 +665,9 @@
" Num Layers | \n",
" Accuracy [1] | \n",
" FHE Latency [1] | \n",
- " hpc7a Accuracy fp32 | \n",
- " hpc7a Accuracy FHE | \n",
- " hpc7a FHE Latency | \n",
+ " Our hpc7a.96xlarge Accuracy fp32 | \n",
+ " Our hpc7a.96xlarge Accuracy FHE | \n",
+ " Our hpc7a.96xlarge FHE Latency | \n",
" Speedup | \n",
" \n",
" \n",
@@ -703,7 +708,7 @@
"# This benchmark was done on a hpc7 machine with 192-cores\n",
"BENCH_HPC7A = {20: [0.987, 0.959, 0.995], 50: [0.9745, 0.9477, 3.03]}\n",
"\n",
- "df, fmt = format_results_df(PAPER_NOTES, BENCH_HPC7A, \"hpc7a\")\n",
+ "df, fmt = format_results_df(PAPER_NOTES, BENCH_HPC7A, \"Our hpc7a.96xlarge\")\n",
"df.style.format(fmt)"
]
},