Spaces:
Running
Running
MilesCranmer
commited on
Commit
·
5d67608
1
Parent(s):
b0e1209
Update CI to use sympytorch
Browse files
.github/workflows/CI.yml
CHANGED
@@ -73,7 +73,7 @@ jobs:
|
|
73 |
run: coverage run --append --source=pysr --omit='*/feynman_problems.py' -m unittest test.test_jax
|
74 |
shell: bash
|
75 |
- name: "Install Torch"
|
76 |
-
run: pip install torch # (optional import)
|
77 |
shell: bash
|
78 |
- name: "Run Torch tests"
|
79 |
run: coverage run --append --source=pysr --omit='*/feynman_problems.py' -m unittest test.test_torch
|
|
|
73 |
run: coverage run --append --source=pysr --omit='*/feynman_problems.py' -m unittest test.test_jax
|
74 |
shell: bash
|
75 |
- name: "Install Torch"
|
76 |
+
run: pip install torch sympytorch # (optional import)
|
77 |
shell: bash
|
78 |
- name: "Run Torch tests"
|
79 |
run: coverage run --append --source=pysr --omit='*/feynman_problems.py' -m unittest test.test_torch
|
.github/workflows/CI_Windows.yml
CHANGED
@@ -65,7 +65,7 @@ jobs:
|
|
65 |
run: python -m unittest test.test
|
66 |
shell: bash
|
67 |
- name: "Install Torch"
|
68 |
-
run: pip install torch # (optional import)
|
69 |
shell: bash
|
70 |
- name: "Run Torch tests"
|
71 |
run: python -m unittest test.test_torch
|
|
|
65 |
run: python -m unittest test.test
|
66 |
shell: bash
|
67 |
- name: "Install Torch"
|
68 |
+
run: pip install torch sympytorch # (optional import)
|
69 |
shell: bash
|
70 |
- name: "Run Torch tests"
|
71 |
run: python -m unittest test.test_torch
|
.github/workflows/CI_mac.yml
CHANGED
@@ -71,7 +71,7 @@ jobs:
|
|
71 |
run: python -m unittest test.test_jax
|
72 |
shell: bash
|
73 |
- name: "Install Torch"
|
74 |
-
run: pip install torch # (optional import)
|
75 |
shell: bash
|
76 |
- name: "Run Torch tests"
|
77 |
run: python -m unittest test.test_torch
|
|
|
71 |
run: python -m unittest test.test_jax
|
72 |
shell: bash
|
73 |
- name: "Install Torch"
|
74 |
+
run: pip install torch sympytorch # (optional import)
|
75 |
shell: bash
|
76 |
- name: "Run Torch tests"
|
77 |
run: python -m unittest test.test_torch
|