Add multi-collinear spin-flip TDA gradients #1841
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This workflow will install Python dependencies, run tests and lint with a single version of Python | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
| name: self hosted CI | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| single-gpu: | |
| runs-on: [self-hosted, Linux, X64, v100] | |
| timeout-minutes: 360 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Pull CUDA Devel Image | |
| run: | | |
| docker pull pyscf/gpu4pyscf-devel:pyscf-2.8 | |
| - name: Test with pytest | |
| run: | | |
| docker run --gpus all \ | |
| --rm \ | |
| -e CUPY_CACHE_DIR=/workspace/.cupy_cache \ | |
| -e HTTP_PROXY=$HTTP_PROXY \ | |
| -e HTTPS_PROXY=$HTTPS_PROXY \ | |
| -v $GITHUB_WORKSPACE:/workspace \ | |
| -v ~/.cache/pip:/root/.cache/pip \ | |
| pyscf/gpu4pyscf-devel:pyscf-2.8 \ | |
| /bin/bash -c "cd /workspace && pip3 install -r requirements.txt && source build.sh && pytest -m 'not slow and not benchmark' --cov=/workspace --durations=50 && rm -rf .pytest_cache" | |
| multi-gpu: | |
| runs-on: [self-hosted, Linux, X64, 2T4] | |
| timeout-minutes: 360 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Pull CUDA Devel Image | |
| run: | | |
| docker pull pyscf/gpu4pyscf-devel:pyscf-2.8 | |
| - name: Test with pytest | |
| run: | | |
| docker run --gpus all \ | |
| --rm \ | |
| -e CUPY_CACHE_DIR=/workspace/.cupy_cache \ | |
| -e HTTP_PROXY=$HTTP_PROXY \ | |
| -e HTTPS_PROXY=$HTTPS_PROXY \ | |
| -v $GITHUB_WORKSPACE:/workspace \ | |
| -v ~/.cache/pip:/root/.cache/pip \ | |
| pyscf/gpu4pyscf-devel:pyscf-2.8 \ | |
| /bin/bash -c "cd /workspace && pip3 install -r requirements.txt && source build.sh && pytest -m 'not slow and not benchmark' --cov=/workspace --durations=50 && rm -rf .pytest_cache" |