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

Potential Mirage projects #18

Open
4 tasks
jiazhihao opened this issue May 18, 2024 · 4 comments
Open
4 tasks

Potential Mirage projects #18

jiazhihao opened this issue May 18, 2024 · 4 comments

Comments

@jiazhihao
Copy link
Member

List of potential projects on top of Mirage:

  • CUDA code generator: currently Mirage's cutlass-based interpreter involves a non-trivial overhead since it visits an block graph every iteration to call the corresponding cutlass/cuda functions. This task implements a CUDA code generator (similar to our Triton code generator) for producing CUDA compilable code for a given ugraph.
  • Python package. We will make Mirage a python package that can be directly installed by users using pip or conda.
  • AMD support. The current implementation of Mirage targets NVIDIA GPUs. We need to work on adding AMD support.
  • Mix precision support. Mirage currently assumes all intermediate tensors are stored in fp16. We will be adding fp8, fp32, and integer type support.
@jeromeku
Copy link

@jiazhihao Great paper!

Any plans on extending Mirage optimizations to account for newer NVIDIA architectures (Hopper+) that introduced additional hardware features and levels to the traditional GPU hierarchy -- e.g., TMA / distributed shared memory / GMMA ?

@nullhook
Copy link

nullhook commented Jul 5, 2024

re: AMD support, is there a way to add custom backends?

@structure-charger
Copy link

reuse tinygrad? https://github.com/tinygrad/tinygrad

@structure-charger
Copy link

or reuse opencl backend implementation ? https://github.com/artyom-beilis/dlprimitives or taichi backend implementation https://github.com/taichi-dev/taichi ?

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

4 participants