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] Introduce Memory Optimization based on MIP #69

Merged
merged 57 commits into from
Sep 11, 2024
Merged

Conversation

hikettei
Copy link
Owner

@hikettei hikettei commented Sep 8, 2024

Remained Tasks

  • Dead Code Elimination
  • Index Computation Simplification
  • Load Latency Hiding Optimization

Changes

  • Softsign
  • GeLU
  • HardSwish
  • Fix In-place mutation
  • (After fixing in-place mutation) Fold composed tan in a single expr
  • tag v0.01
  • Index simplification
  • scalar value mutation
  • Lexiographical Orderが間違ってるのか,ISLのScheduleの段階でFuseされてないKernelがReverseされてない?fuse_outermost_loopで並び替える (特に: Get non-fused Embedding worked)
  • hide latency optimization; load複数回やらない
  • zero_dim_tensor_elimination
  • use :separate option to get Embedding worked

@hikettei hikettei changed the title [BugFix] Fix for Softplus/GeLU/HardSwish [BugFix] Fix for Inplace mutation and get Softplus/GeLU/HardSwish working Sep 8, 2024
@hikettei
Copy link
Owner Author

hikettei commented Sep 8, 2024

@hikettei hikettei changed the title [BugFix] Fix for Inplace mutation and get Softplus/GeLU/HardSwish working [Refactor] Introduce MIP Based Memory-Planner to ajit to get Softplus/GeLU/HardSwish working Sep 9, 2024
@hikettei hikettei changed the title [Refactor] Introduce MIP Based Memory-Planner to ajit to get Softplus/GeLU/HardSwish working [Refactor] Introduce MIP Based Memory-Planner to ajit and get Softplus/GeLU/HardSwish working Sep 9, 2024
@hikettei
Copy link
Owner Author

hikettei commented Sep 9, 2024

@hikettei hikettei changed the title [Refactor] Introduce MIP Based Memory-Planner to ajit and get Softplus/GeLU/HardSwish working [Refactor] Introduce Memory Optimization based in MIP Sep 9, 2024
@hikettei hikettei changed the title [Refactor] Introduce Memory Optimization based in MIP [Refactor] Introduce Memory Optimization based on MIP Sep 9, 2024
@hikettei
Copy link
Owner Author

hikettei commented Sep 9, 2024

IQ足りないからgreedyで

@hikettei hikettei marked this pull request as ready for review September 11, 2024 09:22
@hikettei hikettei merged commit 83e2933 into main Sep 11, 2024
1 of 2 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