Spaces:
Running
Running
Yuan (Cyrus) Chiang
commited on
bump deepmd version (#41)
Browse files* promote run deps, bump prefect and mace versions
* reorganize pyproject toml
* test caching
* disable granular cache in eos
* bump deepmd
* try avoiding release error in pr #40
* clean up files
- pyproject.toml +2 -1
- serve/models/alerts.py +0 -4
- serve/models/bugs.py +0 -4
- serve/tools/history.py +0 -28
- serve/tools/search.py +0 -4
pyproject.toml
CHANGED
@@ -62,12 +62,13 @@ test = [
|
|
62 |
"pytest",
|
63 |
"pytest-xdist",
|
64 |
"prefect==3.1.11",
|
65 |
-
"pymatgen
|
66 |
]
|
67 |
mace = [
|
68 |
"mace-torch==0.3.9",
|
69 |
]
|
70 |
deepmd = [
|
|
|
71 |
"deepmd-kit@git+https://github.com/deepmodeling/deepmd-kit.git@v3.0.0b4"
|
72 |
]
|
73 |
|
|
|
62 |
"pytest",
|
63 |
"pytest-xdist",
|
64 |
"prefect==3.1.11",
|
65 |
+
"pymatgen>=2025.1.9"
|
66 |
]
|
67 |
mace = [
|
68 |
"mace-torch==0.3.9",
|
69 |
]
|
70 |
deepmd = [
|
71 |
+
"torch==2.2.0",
|
72 |
"deepmd-kit@git+https://github.com/deepmodeling/deepmd-kit.git@v3.0.0b4"
|
73 |
]
|
74 |
|
serve/models/alerts.py
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
|
3 |
-
|
4 |
-
st.markdown("# Alerts")
|
|
|
|
|
|
|
|
|
|
serve/models/bugs.py
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
|
3 |
-
|
4 |
-
st.markdown("# Bugs")
|
|
|
|
|
|
|
|
|
|
serve/tools/history.py
DELETED
@@ -1,28 +0,0 @@
|
|
1 |
-
import plotly.express as px
|
2 |
-
import streamlit as st
|
3 |
-
|
4 |
-
st.markdown("# History")
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
df = px.data.gapminder()
|
9 |
-
|
10 |
-
fig = px.scatter(
|
11 |
-
df.query("year==2007"),
|
12 |
-
x="gdpPercap",
|
13 |
-
y="lifeExp",
|
14 |
-
size="pop",
|
15 |
-
color="continent",
|
16 |
-
hover_name="country",
|
17 |
-
log_x=True,
|
18 |
-
size_max=60,
|
19 |
-
)
|
20 |
-
|
21 |
-
tab1, tab2 = st.tabs(["Streamlit theme (default)", "Plotly native theme"])
|
22 |
-
with tab1:
|
23 |
-
# Use the Streamlit theme.
|
24 |
-
# This is the default. So you can also omit the theme argument.
|
25 |
-
st.plotly_chart(fig, theme="streamlit", use_container_width=True)
|
26 |
-
with tab2:
|
27 |
-
# Use the native Plotly theme.
|
28 |
-
st.plotly_chart(fig, theme=None, use_container_width=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
serve/tools/search.py
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
|
3 |
-
|
4 |
-
st.markdown("# Search")
|
|
|
|
|
|
|
|
|
|