1919
2020 - name : Pull CUDA Devel Image
2121 run : |
22- docker pull wxj6000 /gpu4pyscf:latest
22+ docker pull pyscf /gpu4pyscf-devel :latest
2323
2424 - name : Run RKS tests
2525 run : |
2828 -e CUPY_CACHE_DIR=/workspace/.cupy_cache \
2929 -e HTTP_PROXY=$HTTP_PROXY \
3030 -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"
3333
3434 test_uks :
3535 runs-on : [self-hosted, Linux, X64, v100]
3838
3939 - name : Pull CUDA Devel Image
4040 run : |
41- docker pull wxj6000 /gpu4pyscf:latest
41+ docker pull pyscf /gpu4pyscf-devel :latest
4242
4343 - name : Run UKS tests
4444 run : |
4747 -e CUPY_CACHE_DIR=/workspace/.cupy_cache \
4848 -e HTTP_PROXY=$HTTP_PROXY \
4949 -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"
5252
5353 test_tddft :
5454 runs-on : [self-hosted, Linux, X64, v100]
5757
5858 - name : Pull CUDA Devel Image
5959 run : |
60- docker pull wxj6000 /gpu4pyscf:latest
60+ docker pull pyscf /gpu4pyscf-devel :latest
6161
6262 - name : Run TDDFT tests
6363 run : |
@@ -66,26 +66,26 @@ jobs:
6666 -e CUPY_CACHE_DIR=/workspace/.cupy_cache \
6767 -e HTTP_PROXY=$HTTP_PROXY \
6868 -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"
7171
7272 test_ecp :
7373 runs-on : [self-hosted, Linux, X64, v100]
7474 steps :
7575 - uses : actions/checkout@v3
7676 - name : Pull CUDA Devel Image
7777 run : |
78- docker pull wxj6000 /gpu4pyscf:latest
79-
78+ docker pull pyscf /gpu4pyscf-devel :latest
79+
8080 - name : Run ECP tests
8181 run : |
8282 docker run --gpus all \
8383 -u "$(id -u):$(id -g)" \
8484 -e CUPY_CACHE_DIR=/workspace/.cupy_cache \
8585 -e HTTP_PROXY=$HTTP_PROXY \
8686 -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"
8989
9090 test_properties :
9191 runs-on : [self-hosted, Linux, X64, v100]
9494
9595 - name : Pull CUDA Devel Image
9696 run : |
97- docker pull wxj6000 /gpu4pyscf:latest
97+ docker pull pyscf /gpu4pyscf-devel :latest
9898
9999 - name : Run properties tests
100100 run : |
@@ -103,6 +103,6 @@ jobs:
103103 -e CUPY_CACHE_DIR=/workspace/.cupy_cache \
104104 -e HTTP_PROXY=$HTTP_PROXY \
105105 -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"
108108
0 commit comments