From 3de8c05904015f8225f233810d14c12fe71aa546 Mon Sep 17 00:00:00 2001 From: Younes Belkada Date: Fri, 12 Apr 2024 18:53:33 +0200 Subject: [PATCH] another test --- .github/workflows/push-important-models.yml | 2 +- src/transformers/models/bark/modeling_bark.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/push-important-models.yml b/.github/workflows/push-important-models.yml index b3691394318b5d..6466d901a20fab 100644 --- a/.github/workflows/push-important-models.yml +++ b/.github/workflows/push-important-models.yml @@ -58,7 +58,7 @@ jobs: # 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 != '' && fromJson(needs.get_modified_models.outputs.matrix) != '' }} + if: ${{ needs.get_modified_models.outputs.matrix != '[]' && needs.get_modified_models.outputs.matrix != '' && fromJson(needs.get_modified_models.outputs.matrix) != 'Array' }} strategy: fail-fast: false matrix: diff --git a/src/transformers/models/bark/modeling_bark.py b/src/transformers/models/bark/modeling_bark.py index c004b23e0bfc36..de04614075cf80 100644 --- a/src/transformers/models/bark/modeling_bark.py +++ b/src/transformers/models/bark/modeling_bark.py @@ -16,7 +16,6 @@ import math from typing import Dict, Optional, Tuple, Union - import numpy as np import torch from torch import nn