Remove HTML comments from some articles #181
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: Memory Performance | |
on: | |
push: | |
paths-ignore: | |
- '**/*.md' | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cache Models | |
id: cache-models | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/huggingface | |
key: models | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
allow-prereleases: true | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install psutil | |
- name: Test Memory Usage | |
run: make test-perf |