Spaces:
Runtime error
Runtime error
Commit
·
54cd0e6
1
Parent(s):
3edd3ca
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,5 +71,13 @@ att_mqa_time = print_kernel_execution(c1, c2, mqa_flop, mqa_bytes)
|
|
| 71 |
|
| 72 |
st.header('MLP')
|
| 73 |
st.subheader('First Linear')
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
st.subheader('Second Linear')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
st.header('MLP')
|
| 73 |
st.subheader('First Linear')
|
| 74 |
+
mlp1_flop = 2*bs*1*d*4*d
|
| 75 |
+
mlp1_bytes = 2*bs*1*d + 2*d*4*d + 2*bs*1*4*d
|
| 76 |
+
c1, c2 = st.columns([2, 3])
|
| 77 |
+
mlp1_time = print_kernel_execution(c1, c2, mlp1_flop, mlp1_bytes)
|
| 78 |
|
| 79 |
st.subheader('Second Linear')
|
| 80 |
+
mlp2_flop = 2*bs*1*d*4*d
|
| 81 |
+
mlp2_bytes = 2*bs*1*d + 2*d*4*d + 2*bs*1*4*d
|
| 82 |
+
c1, c2 = st.columns([2, 3])
|
| 83 |
+
mlp2_time = print_kernel_execution(c1, c2, mlp2_flop, mlp2_bytes)
|