Skip to content

[Bug] coqui-ai-tts is not compatible with transformers>=5.1 #558

Description

@abentabib

Describe the bug

Transformers 5 deleted the isin_mps_friendly used in package TTS\tts\layers\tortoise\autoregressive.py", line 12,

We get this error:

    from transformers.pytorch_utils import isin_mps_friendly as isin
ImportError: cannot import name 'isin_mps_friendly' from 'transformers.pytorch_utils' (C:\Users\alpha\xtts-testing\env\Lib\site-packages\transformers\pytorch_utils.py)

To Reproduce

Follow regular installation for cuda.

Expected behavior

No response

Logs

Environment

latest

Additional context

Downgrade to 4.57.6

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions