Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
younesbelkada committed Apr 12, 2024
1 parent 0501e7c commit bcd169d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/push-important-models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,12 @@ jobs:
echo "matrix=[$matrix_string]" >> $GITHUB_OUTPUT
test_modified_files:
needs: get_modified_models
name: Slow & FA2 tests
runs-on: [single-gpu, nvidia-gpu, a10, ci]
container:
image: huggingface/transformers-all-latest-gpu
options: --gpus all --privileged --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
name: Slow & FA2 tests ${{ matrix.model-name }}
runs-on: ubuntu-latest
# runs-on: [single-gpu, nvidia-gpu, a10, ci]
# container:
# image: huggingface/transformers-all-latest-gpu
# options: --gpus all --privileged --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
if: ${{ needs.get_modified_models.outputs.matrix != '[]' && needs.get_modified_models.outputs.matrix != '' }}
strategy:
fail-fast: false
Expand All @@ -66,7 +67,7 @@ jobs:
steps:
- name: Echo
run: |
echo ${{ needs.get_modified_models.outputs.matrix }}
echo ${{ matrix.model-name }}
- name: Check out code
uses: actions/checkout@v3

Expand Down
1 change: 1 addition & 0 deletions src/transformers/models/bark/modeling_bark.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import math
from typing import Dict, Optional, Tuple, Union


import numpy as np
import torch
from torch import nn
Expand Down

0 comments on commit bcd169d

Please sign in to comment.