From 722191a1be8a7831f058df64ec68b3055795ffc3 Mon Sep 17 00:00:00 2001 From: Younes Belkada Date: Fri, 12 Apr 2024 19:09:12 +0200 Subject: [PATCH] test --- .github/workflows/push-important-models.yml | 1 + src/transformers/models/bark/modeling_bark.py | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/push-important-models.yml b/.github/workflows/push-important-models.yml index fe3fa1c0ff4104..353130a9e0ab3b 100644 --- a/.github/workflows/push-important-models.yml +++ b/.github/workflows/push-important-models.yml @@ -72,6 +72,7 @@ jobs: echo ${{ needs.get_modified_models.outputs.matrix == '' }} echo ${{ needs.get_modified_models.outputs.matrix == ' ' }} echo ${{ fromJson(needs.get_modified_models.outputs.matrix) == ' ' }} + echo ${{ fromJson(needs.get_modified_models.outputs.matrix)[0] == null }} - name: Check out code uses: actions/checkout@v3 diff --git a/src/transformers/models/bark/modeling_bark.py b/src/transformers/models/bark/modeling_bark.py index de04614075cf80..c004b23e0bfc36 100644 --- a/src/transformers/models/bark/modeling_bark.py +++ b/src/transformers/models/bark/modeling_bark.py @@ -16,6 +16,7 @@ import math from typing import Dict, Optional, Tuple, Union + import numpy as np import torch from torch import nn