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 transformers and make torch optional #8

Merged
merged 2 commits into from
Sep 6, 2024
Merged

Conversation

sidnarayanan
Copy link
Collaborator

Slimming down dependencies by:

  • Removing transformers
  • Making torch a lazy import

To install torch dependencies, specify the extra ldp[nn].

Copy link
Collaborator

@jamesbraza jamesbraza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add torch to pre-commit's mypy

Copy link
Collaborator

@jamesbraza jamesbraza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevermind I was wrong on torch thing in pre-commit. LGTM

@sidnarayanan sidnarayanan merged commit 09ae233 into main Sep 6, 2024
4 checks passed
@sidnarayanan sidnarayanan deleted the optional-torch branch September 6, 2024 00:35
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