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

Refactor library #80

Merged
merged 4 commits into from
Feb 3, 2024
Merged

Refactor library #80

merged 4 commits into from
Feb 3, 2024

Conversation

dacorvo
Copy link
Collaborator

@dacorvo dacorvo commented Feb 3, 2024

This refactors the library in two sub-libraries:

  • one containing default implementations for all operations using only pytorch operators,
  • one containing the implementations provided by the extensions.

This is mainly for debug for now, as it allows to disable the library extensions and use instead implementations based on pytorch operators only.

This will allow to use the new decentralized declarations for torch.Library
implementation and definitions.
This is mainly for debug for now, but it allows to disable the library extensions and
use instead implementations based on pytorch operators only.
@dacorvo dacorvo merged commit 8ed7e69 into main Feb 3, 2024
3 checks passed
@dacorvo dacorvo deleted the refactor_library branch February 3, 2024 14:53
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