Spaces:
Running
Running
Yuan (Cyrus) Chiang
commited on
avoid worker error raised by pytest-xdist (#46)
Browse files* add random seed to pytest-xdist
* remove randomly seed
- .github/README.md +11 -11
- .github/workflows/test.yaml +1 -1
.github/README.md
CHANGED
@@ -50,21 +50,11 @@ source $HOME/.local/bin/env
|
|
50 |
bash scripts/install-macosx.sh
|
51 |
```
|
52 |
|
53 |
-
## Contribute
|
54 |
-
|
55 |
-
MLIP Arena is now in pre-alpha. If you're interested in joining the effort, please reach out to Yuan at [cyrusyc@berkeley.edu](mailto:cyrusyc@berkeley.edu).
|
56 |
-
|
57 |
-
### Development
|
58 |
-
|
59 |
-
```
|
60 |
-
streamlit run serve/app.py
|
61 |
-
```
|
62 |
-
|
63 |
## Quickstart
|
64 |
|
65 |
### Molecular dynamics (MD)
|
66 |
|
67 |
-
|
68 |
|
69 |
```python
|
70 |
from mlip_arena.tasks.md import run as MD
|
@@ -91,6 +81,16 @@ for model in MLIPEnum:
|
|
91 |
|
92 |
```
|
93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
### Add new benchmark tasks (WIP)
|
95 |
|
96 |
> [!NOTE]
|
|
|
50 |
bash scripts/install-macosx.sh
|
51 |
```
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
## Quickstart
|
54 |
|
55 |
### Molecular dynamics (MD)
|
56 |
|
57 |
+
Arena provides a unified interface to run all the compiled MLIPs. This can be achieved simply by looping through `MLIPEnum`:
|
58 |
|
59 |
```python
|
60 |
from mlip_arena.tasks.md import run as MD
|
|
|
81 |
|
82 |
```
|
83 |
|
84 |
+
## Contribute
|
85 |
+
|
86 |
+
MLIP Arena is now in pre-alpha. If you're interested in joining the effort, please reach out to Yuan at [cyrusyc@berkeley.edu](mailto:cyrusyc@berkeley.edu).
|
87 |
+
|
88 |
+
### Development
|
89 |
+
|
90 |
+
```
|
91 |
+
streamlit run serve/app.py
|
92 |
+
```
|
93 |
+
|
94 |
### Add new benchmark tasks (WIP)
|
95 |
|
96 |
> [!NOTE]
|
.github/workflows/test.yaml
CHANGED
@@ -61,4 +61,4 @@ jobs:
|
|
61 |
PREFECT_API_KEY: ${{ secrets.PREFECT_API_KEY }}
|
62 |
PREFECT_API_URL: ${{ secrets.PREFECT_API_URL }}
|
63 |
run: |
|
64 |
-
pytest -vra tests -n 5
|
|
|
61 |
PREFECT_API_KEY: ${{ secrets.PREFECT_API_KEY }}
|
62 |
PREFECT_API_URL: ${{ secrets.PREFECT_API_URL }}
|
63 |
run: |
|
64 |
+
pytest --dist=loadscope -vra tests -n 5
|