19
19
20
20
- name : Pull CUDA Devel Image
21
21
run : |
22
- docker pull wxj6000 /gpu4pyscf:latest
22
+ docker pull pyscf /gpu4pyscf-devel :latest
23
23
24
24
- name : Run RKS tests
25
25
run : |
28
28
-e CUPY_CACHE_DIR=/workspace/.cupy_cache \
29
29
-e HTTP_PROXY=$HTTP_PROXY \
30
30
-e HTTPS_PROXY=$HTTPS_PROXY \
31
- -v $GITHUB_WORKSPACE:/workspace wxj6000 /gpu4pyscf:latest \
32
- /bin/bash -c "cd /workspace && source build.sh && pytest gpu4pyscf/tests/test_benchmark_rks.py -s -v -m 'not slow and not high_memory' --benchmark-compare-fail=min:10% --benchmark-compare=v1.4.0_rks_1v100 --benchmark-storage=gpu4pyscf/tests/benchmark_results/ && rm -rf .pytest_cache"
31
+ -v $GITHUB_WORKSPACE:/workspace pyscf /gpu4pyscf-devel :latest \
32
+ /bin/bash -c "cd /workspace && pip3 install --target=/tmp/deps -r requirements.txt && export PYTHONPATH=/tmp/deps:$PYTHONPATH && source build.sh && pytest gpu4pyscf/tests/test_benchmark_rks.py -s -v -m 'not slow and not high_memory' --benchmark-compare-fail=min:10% --benchmark-compare=v1.4.0_rks_1v100 --benchmark-storage=gpu4pyscf/tests/benchmark_results/ && rm -rf .pytest_cache"
33
33
34
34
test_uks :
35
35
runs-on : [self-hosted, Linux, X64, v100]
38
38
39
39
- name : Pull CUDA Devel Image
40
40
run : |
41
- docker pull wxj6000 /gpu4pyscf:latest
41
+ docker pull pyscf /gpu4pyscf-devel :latest
42
42
43
43
- name : Run UKS tests
44
44
run : |
47
47
-e CUPY_CACHE_DIR=/workspace/.cupy_cache \
48
48
-e HTTP_PROXY=$HTTP_PROXY \
49
49
-e HTTPS_PROXY=$HTTPS_PROXY \
50
- -v $GITHUB_WORKSPACE:/workspace wxj6000 /gpu4pyscf:latest \
51
- /bin/bash -c "cd /workspace && source build.sh && pytest gpu4pyscf/tests/test_benchmark_uks.py -s -v -m 'not slow and not high_memory' --benchmark-compare-fail=min:10% --benchmark-compare=v1.3.0_uks_1v100 --benchmark-storage=gpu4pyscf/tests/benchmark_results/ && rm -rf .pytest_cache"
50
+ -v $GITHUB_WORKSPACE:/workspace pyscf /gpu4pyscf-devel :latest \
51
+ /bin/bash -c "cd /workspace && pip3 install --target=/tmp/deps -r requirements.txt && export PYTHONPATH=/tmp/deps:$PYTHONPATH && source build.sh && pytest gpu4pyscf/tests/test_benchmark_uks.py -s -v -m 'not slow and not high_memory' --benchmark-compare-fail=min:10% --benchmark-compare=v1.3.0_uks_1v100 --benchmark-storage=gpu4pyscf/tests/benchmark_results/ && rm -rf .pytest_cache"
52
52
53
53
test_tddft :
54
54
runs-on : [self-hosted, Linux, X64, v100]
57
57
58
58
- name : Pull CUDA Devel Image
59
59
run : |
60
- docker pull wxj6000 /gpu4pyscf:latest
60
+ docker pull pyscf /gpu4pyscf-devel :latest
61
61
62
62
- name : Run TDDFT tests
63
63
run : |
@@ -66,26 +66,26 @@ jobs:
66
66
-e CUPY_CACHE_DIR=/workspace/.cupy_cache \
67
67
-e HTTP_PROXY=$HTTP_PROXY \
68
68
-e HTTPS_PROXY=$HTTPS_PROXY \
69
- -v $GITHUB_WORKSPACE:/workspace wxj6000 /gpu4pyscf:latest \
70
- /bin/bash -c "cd /workspace && source build.sh && pytest gpu4pyscf/tests/test_benchmark_tddft.py -s -v -m 'not slow and not high_memory' --benchmark-compare-fail=min:10% --benchmark-compare=v1.3.0_tddft_1v100 --benchmark-storage=gpu4pyscf/tests/benchmark_results/ && rm -rf .pytest_cache"
69
+ -v $GITHUB_WORKSPACE:/workspace pyscf /gpu4pyscf-devel :latest \
70
+ /bin/bash -c "cd /workspace && pip3 install --target=/tmp/deps -r requirements.txt && export PYTHONPATH=/tmp/deps:$PYTHONPATH && source build.sh && pytest gpu4pyscf/tests/test_benchmark_tddft.py -s -v -m 'not slow and not high_memory' --benchmark-compare-fail=min:10% --benchmark-compare=v1.3.0_tddft_1v100 --benchmark-storage=gpu4pyscf/tests/benchmark_results/ && rm -rf .pytest_cache"
71
71
72
72
test_ecp :
73
73
runs-on : [self-hosted, Linux, X64, v100]
74
74
steps :
75
75
- uses : actions/checkout@v3
76
76
- name : Pull CUDA Devel Image
77
77
run : |
78
- docker pull wxj6000 /gpu4pyscf:latest
79
-
78
+ docker pull pyscf /gpu4pyscf-devel :latest
79
+
80
80
- name : Run ECP tests
81
81
run : |
82
82
docker run --gpus all \
83
83
-u "$(id -u):$(id -g)" \
84
84
-e CUPY_CACHE_DIR=/workspace/.cupy_cache \
85
85
-e HTTP_PROXY=$HTTP_PROXY \
86
86
-e HTTPS_PROXY=$HTTPS_PROXY \
87
- -v $GITHUB_WORKSPACE:/workspace wxj6000 /gpu4pyscf:latest \
88
- /bin/bash -c "cd /workspace && source build.sh && pytest gpu4pyscf/tests/test_benchmark_ecp.py -s -v -m 'not slow and not high_memory' --benchmark-compare-fail=min:10% --benchmark-compare=v1.4.0_ecp_1v100 --benchmark-storage=gpu4pyscf/tests/benchmark_results/ && rm -rf .pytest_cache"
87
+ -v $GITHUB_WORKSPACE:/workspace pyscf /gpu4pyscf-devel :latest \
88
+ /bin/bash -c "cd /workspace && pip3 install --target=/tmp/deps -r requirements.txt && export PYTHONPATH=/tmp/deps:$PYTHONPATH && source build.sh && pytest gpu4pyscf/tests/test_benchmark_ecp.py -s -v -m 'not slow and not high_memory' --benchmark-compare-fail=min:10% --benchmark-compare=v1.4.0_ecp_1v100 --benchmark-storage=gpu4pyscf/tests/benchmark_results/ && rm -rf .pytest_cache"
89
89
90
90
test_properties :
91
91
runs-on : [self-hosted, Linux, X64, v100]
94
94
95
95
- name : Pull CUDA Devel Image
96
96
run : |
97
- docker pull wxj6000 /gpu4pyscf:latest
97
+ docker pull pyscf /gpu4pyscf-devel :latest
98
98
99
99
- name : Run properties tests
100
100
run : |
@@ -103,6 +103,6 @@ jobs:
103
103
-e CUPY_CACHE_DIR=/workspace/.cupy_cache \
104
104
-e HTTP_PROXY=$HTTP_PROXY \
105
105
-e HTTPS_PROXY=$HTTPS_PROXY \
106
- -v $GITHUB_WORKSPACE:/workspace wxj6000 /gpu4pyscf:latest \
107
- /bin/bash -c "cd /workspace && source build.sh && pytest gpu4pyscf/tests/test_benchmark_properties.py -s -v -m 'not slow and not high_memory' --benchmark-compare-fail=min:10% --benchmark-compare=v1.4.0_properties_1v100 --benchmark-storage=gpu4pyscf/tests/benchmark_results/ && rm -rf .pytest_cache"
106
+ -v $GITHUB_WORKSPACE:/workspace pyscf /gpu4pyscf-devel :latest \
107
+ /bin/bash -c "cd /workspace && pip3 install --target=/tmp/deps -r requirements.txt && export PYTHONPATH=/tmp/deps:$PYTHONPATH && source build.sh && pytest gpu4pyscf/tests/test_benchmark_properties.py -s -v -m 'not slow and not high_memory' --benchmark-compare-fail=min:10% --benchmark-compare=v1.4.0_properties_1v100 --benchmark-storage=gpu4pyscf/tests/benchmark_results/ && rm -rf .pytest_cache"
108
108
0 commit comments