Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove import from torch in export.py #600

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

dsblank
Copy link
Member

@dsblank dsblank commented Jan 6, 2025

This PR removes a spurious import from torch, which crashes if torch is not installed.

This PR removes a spurious import from torch, which crashes if torch is not installed.
@DavidMStraub
Copy link
Member

Thanks!

I blame copilot, it sometimes does that 😬 should probably configure the type checker to fail on unused imports.

@DavidMStraub DavidMStraub merged commit e52da84 into gramps-project:master Jan 6, 2025
2 checks passed
@dsblank dsblank deleted the patch-1 branch January 6, 2025 14:44
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.

2 participants