Skip to content

Conversation

@SharkFishDeveloper
Copy link

Fixes #2559

Cog previously panicked when no torch version was specified and CUDA
validation was triggered.

This change adds a guard in cudasFromTorch to return a helpful
user-facing error instead of panicking.

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.

Dont panic if torch version not set

1 participant