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

[Meta] Migration to custom Tensor/Matrix interface and DROP S4TF Tensor and dependency #275

Open
ProfFan opened this issue Dec 14, 2022 · 0 comments
Assignees

Comments

@ProfFan
Copy link
Collaborator

ProfFan commented Dec 14, 2022

Removing all S4TF dependency will enable immediate revival of SwiftFusion since most codepath only use a fraction of the Tensor interface.

Issues I have on file (TODO: file them as issues)

  1. math functions like sin needs replacement into their Swift-numerics counterpart
  2. swift-numerics does not have @differentiable, need custom VJPs
  3. matmul need hand implementation
  4. pinv uses SVD in S4TF, need to be replaced

Possible solution directions:

  • Handcraft usable but not great stuff for now to keep it together
  • Move to SwiftRT?

supersedes #274

@ProfFan ProfFan self-assigned this Dec 14, 2022
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

No branches or pull requests

1 participant