Skip to content

Fix device placement when loading voice prompt embeddings#35

Open
mei-chen wants to merge 1 commit intoNVIDIA:mainfrom
mei-chen:fix/device-placement
Open

Fix device placement when loading voice prompt embeddings#35
mei-chen wants to merge 1 commit intoNVIDIA:mainfrom
mei-chen:fix/device-placement

Conversation

@mei-chen
Copy link

Add map_location to torch.load() to ensure embeddings load directly onto the model's device instead of defaulting to CPU.

Add map_location to torch.load() to ensure embeddings load directly
onto the model's device instead of defaulting to CPU.
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