Skip to content

Python 3.12 + Cuda 12.6 Terminate without notice #876

Open
@xiangj1

Description

@xiangj1

Python 3.12 + Cuda 12.6 Terminate without notice.

Console output:

FutureWarning: The input name `inputs` is deprecated. Please make sure to use `input_features` instead.
  warnings.warn(
Due to a bug fix in https://github.com/huggingface/transformers/pull/28687 transcription using a multilingual Whisper will default to language detection followed by transcription instead of translation to English.This might be a breaking change for your use case. If you want to instead always translate your audio to English, make sure to pass `language='en'`.
Passing a tuple of `past_key_values` is deprecated and will be removed in Transformers v4.43.0. You should pass an instance of `EncoderDecoderCache` instead, e.g. `past_key_values=EncoderDecoderCache.from_legacy_cache(past_key_values)`.

found invalid characters: {'1'}
`get_max_cache()` is deprecated for all Cache classes. Use `get_max_cache_shape()` instead. Calling `get_max_cache()` will raise error from v4.48

感觉是哪里有bug,3.9和3.11没问题,Cuda 12.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    algorithmAlgorithm improvements & issuesbugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions