Download from HuggingFace with private token #338
This file contains 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
name: Architecture tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
# Check all PR | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
include: | |
- architecture-name: alchemical-model | |
- architecture-name: gap | |
- architecture-name: soap-bpnn | |
- architecture-name: pet | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- run: pip install tox | |
- name: run architecture tests | |
run: tox -e ${{ matrix.architecture-name }}-tests | |
env: | |
# Use the CPU only version of torch when building/running the code | |
PIP_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu |