You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: notebooks/astrasim2_correlation/correlation.ipynb
+1-54Lines changed: 1 addition & 54 deletions
Original file line number
Diff line number
Diff line change
@@ -26,60 +26,7 @@
26
26
"id": "95cf92d9",
27
27
"metadata": {},
28
28
"source": [
29
-
"## Astrasim-2.0\n",
30
-
"\n",
31
-
"The [Astrasim-2.0 paper](https://arxiv.org/abs/2303.14006) has correlation to a torus of 4 and 16 V100s on page 6 to the network latency of data transfers of an all-reduce.\n",
32
-
"\n",
33
-
"On top of this, on page 9 they have data on their simulation framework correlated to the above and the latencies of certain operation of their model.\n",
34
-
"\n",
35
-
"We aim to show that we can match these numbers with our analytical model."
36
-
]
37
-
},
38
-
{
39
-
"cell_type": "code",
40
-
"execution_count": null,
41
-
"id": "f70059c4",
42
-
"metadata": {},
43
-
"outputs": [],
44
-
"source": [
45
-
"from numbers import Number\n",
46
-
"from typing import Dict, Sequence\n",
47
-
"\n",
48
-
"def ring_4xV100():\n",
49
-
"\t\"\"\"\n",
50
-
"\tGenerates a graph with the latencies of 4xV100s.\n",
51
-
"\t\"\"\"\n",
52
-
"\t# Collective size in MB to latency TODO: stop eyeballing latency.\n",
(xd0 < xs0) or (xd0 > xs0) or (xd1 < xs1) or (xd1 > xs1) or (xd2 < xs2) or (xd2 > xs2) or (xd3 < xs3) or (xd3 > xs3) or (xd4 < xs4) or (xd4 > xs4) or (xd5 < xs5) or (xd5 > xs5) or (xd6 < xs6) or (xd6 > xs6) or (xd7 < xs7) or (xd7 > xs7)
541
+
}
542
+
expected:
543
+
latency: null
544
+
total_hops: null
545
+
multicast_hops: null
546
+
hypercube_hops: 168
547
+
extent_DOR_hops: null
548
+
549
+
# Single chunk GPU0 -> GPU3: one unicast cast, cost (1+1)(1+1)-1 = 3.
0 commit comments