Skip to content

Commit

Permalink
Update check_metric.ipynb with new values
Browse files Browse the repository at this point in the history
  • Loading branch information
haoxiangsnr committed Mar 11, 2024
1 parent 1d89fc2 commit 06581f3
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions notebooks/check_metric.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"synops = 419556 * 2\n",
"synops = 354094\n",
"neuronops = 2762\n",
"buffer_latency = 0.032\n",
"enc_dec_latency = 0.030 / 1000\n",
Expand All @@ -68,24 +68,24 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"866732\n",
"381714\n",
"Solution Latency : 32.030 ms\n",
"Power proxy (Effective SynOPS) : 108341500.000 ops/s\n",
"PDP proxy (SynOPS-delay product) : 1790.797 ops\n"
"Power proxy (Effective SynOPS) : 47714250.000 ops/s\n",
"PDP proxy (SynOPS-delay product) : 1528287.428 ops\n"
]
}
],
"source": [
"latency = buffer_latency + enc_dec_latency + dns_latency\n",
"effective_synops_rate = (synops + 10 * neuronops) / dt\n",
"synops_delay_product = 55.91 * 10**3 * latency\n",
"synops_delay_product = effective_synops_rate * latency\n",
"\n",
"print(synops + 10 * neuronops)\n",
"print(f'Solution Latency : {latency * 1000: .3f} ms')\n",
Expand All @@ -95,16 +95,16 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Solution Latency : 32.030 ms\n",
"Power proxy (Effective SynOPS) : 108341500.000 ops/s\n",
"PDP proxy (SynOPS-delay product) : 3470178.245 ops\n"
"Power proxy (Effective SynOPS) : 47714250.000 ops/s\n",
"PDP proxy (SynOPS-delay product) : 1528287.428 ops\n"
]
}
],
Expand Down Expand Up @@ -135,7 +135,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.11"
"version": "3.10.13"
},
"orig_nbformat": 4
},
Expand Down

0 comments on commit 06581f3

Please sign in to comment.