Skip to content

Comments

Add check for MPS availability in PunctuationModel initialization#22

Open
danielamof wants to merge 1 commit intooliverguhr:mainfrom
danielamof:patch-1
Open

Add check for MPS availability in PunctuationModel initialization#22
danielamof wants to merge 1 commit intooliverguhr:mainfrom
danielamof:patch-1

Conversation

@danielamof
Copy link

This commit updates the PunctuationModel class to include a check for MPS (Metal Performance Shaders) availability before initializing the pipeline with the MPS device. This ensures that the model can utilize MPS if available, providing better performance on supported Apple hardware.

This commit updates the PunctuationModel class to include a check for MPS (Metal Performance Shaders) availability before initializing the pipeline with the MPS device. This ensures that the model can utilize MPS if available, providing better performance on supported Apple hardware.
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