Spaces:
Runtime error
Runtime error
login anonymous wandb
Browse files- app.py +2 -3
- dashboard_utils/bubbles.py +2 -1
app.py
CHANGED
@@ -1,13 +1,12 @@
|
|
1 |
-
import json
|
2 |
-
|
3 |
import streamlit as st
|
|
|
4 |
from streamlit_observable import observable
|
5 |
|
6 |
from dashboard_utils.bubbles import get_new_bubble_data
|
7 |
|
8 |
st.title("Training transformers together dashboard")
|
9 |
st.write("test")
|
10 |
-
|
11 |
|
12 |
serialized_data, profiles = get_new_bubble_data()
|
13 |
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
+
import wandb
|
3 |
from streamlit_observable import observable
|
4 |
|
5 |
from dashboard_utils.bubbles import get_new_bubble_data
|
6 |
|
7 |
st.title("Training transformers together dashboard")
|
8 |
st.write("test")
|
9 |
+
wandb.login(anonymous="must")
|
10 |
|
11 |
serialized_data, profiles = get_new_bubble_data()
|
12 |
|
dashboard_utils/bubbles.py
CHANGED
@@ -36,6 +36,7 @@ def get_profiles(serialized_data_points):
|
|
36 |
|
37 |
|
38 |
def get_serialized_data_points():
|
|
|
39 |
api = wandb.Api()
|
40 |
runs = api.runs(WANDB_REPO)
|
41 |
|
@@ -45,7 +46,7 @@ def get_serialized_data_points():
|
|
45 |
for run in runs:
|
46 |
run_summary = run.summary._json_dict
|
47 |
run_name = run.name
|
48 |
-
|
49 |
if run_name in serialized_data_points:
|
50 |
try:
|
51 |
timestamp = run_summary["_timestamp"]
|
|
|
36 |
|
37 |
|
38 |
def get_serialized_data_points():
|
39 |
+
|
40 |
api = wandb.Api()
|
41 |
runs = api.runs(WANDB_REPO)
|
42 |
|
|
|
46 |
for run in runs:
|
47 |
run_summary = run.summary._json_dict
|
48 |
run_name = run.name
|
49 |
+
|
50 |
if run_name in serialized_data_points:
|
51 |
try:
|
52 |
timestamp = run_summary["_timestamp"]
|