Spaces:
Runtime error
Runtime error
Commit
·
0332fd5
1
Parent(s):
828756a
Update app.py
Browse files
app.py
CHANGED
|
@@ -128,7 +128,16 @@ num_params = 12*l*d*d
|
|
| 128 |
c1.write("Num Parameters (in B)")
|
| 129 |
c2.write(str(round(num_params/1e9, 3)))
|
| 130 |
c1.write("Storing activations")
|
| 131 |
-
acts = round(2*l*(d/h)*h*n/1e9, 2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
c2.write(str(acts))
|
| 133 |
|
| 134 |
|
|
|
|
| 128 |
c1.write("Num Parameters (in B)")
|
| 129 |
c2.write(str(round(num_params/1e9, 3)))
|
| 130 |
c1.write("Storing activations")
|
| 131 |
+
acts = round(2*bs*l*(d/h)*h*2*n/1e9, 2)
|
| 132 |
+
c2.write(str(acts))
|
| 133 |
+
|
| 134 |
+
st.caption("MQA")
|
| 135 |
+
c1, c2 = st.columns([2, 4])
|
| 136 |
+
num_params = (10+2/h)*l*d*d
|
| 137 |
+
c1.write("Num Parameters (in B)")
|
| 138 |
+
c2.write(str(round(num_params/1e9, 3)))
|
| 139 |
+
c1.write("Storing activations")
|
| 140 |
+
acts = round(2*bs*l*(d/h)*2*n/1e9, 2)
|
| 141 |
c2.write(str(acts))
|
| 142 |
|
| 143 |
|