From d3b879f31c12ef1e02f9775571c53727f8b557a5 Mon Sep 17 00:00:00 2001 From: Younes Belkada Date: Fri, 12 Apr 2024 18:56:06 +0200 Subject: [PATCH] final 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 597aa41b064199..4ec5b01311e3ac 100644 --- a/.github/workflows/push-important-models.yml +++ b/.github/workflows/push-important-models.yml @@ -59,7 +59,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) != 'Array' }} + if: ${{ needs.get_modified_models.outputs.matrix != '[]' && needs.get_modified_models.outputs.matrix != '' && needs.get_modified_models.outputs.matrix != "" }} 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