Skip to content

Fix for compatibility with transformers>=5.0.0#4011

Open
stefanwebb wants to merge 2 commits intopipecat-ai:mainfrom
stefanwebb:main
Open

Fix for compatibility with transformers>=5.0.0#4011
stefanwebb wants to merge 2 commits intopipecat-ai:mainfrom
stefanwebb:main

Conversation

@stefanwebb
Copy link

This PR makes the custom model _Wav2Vec2ForEndpointing that's part of SmartTurn v2 work with Transformers versions >= 5.0.0.

That version introduced a breaking change that requires a self.post_init() at the end of self.__init__().

See this issue for more discussions: huggingface/transformers#42832

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant