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

AOT Compilation, Shape Inference #15

Merged
merged 13 commits into from
Aug 15, 2024
Merged

AOT Compilation, Shape Inference #15

merged 13 commits into from
Aug 15, 2024

Conversation

hikettei
Copy link
Owner

@hikettei hikettei commented Aug 15, 2024

  • AOT Compilation for Symbolic Ops
  • Only enabled when AOT is set to 1 (in default disabled)
    • If the function was called with a backend which is unknown at the compilation time? -> switch to JIT
  • AOT Shape Inference
  • AVM.dumped (unnecessary information like variables, tensors, etc, is removed)
  • Dump aIR (foreshadowing came together for implementing my own IR!)
    • Compiled aIR graph are only composed of number, symbol, and keyword. they can be dumped using make-load-form.
  • Writing tests
  • cffi objects are really dumped????

@hikettei hikettei changed the title [WIP] Ahead-of-Time Compilation and Shape Inference [WIP] (Full) Ahead-of-Time Compilation, Shape Inference etc... Aug 15, 2024
@hikettei hikettei changed the title [WIP] (Full) Ahead-of-Time Compilation, Shape Inference etc... AOT Compilation, Shape Inference Aug 15, 2024
@hikettei hikettei merged commit dc7a933 into main Aug 15, 2024
1 of 3 checks passed
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