-
Notifications
You must be signed in to change notification settings - Fork 113
Add triton jit cpp runtime #531
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
Add triton jit cpp runtime #531
Conversation
endif() | ||
find_package(Torch CONFIG REQUIRED) | ||
|
||
# message(STATUS "TORCH_INSTALL_PREFIX: ${TORCH_INSTALL_PREFIX}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we uncomment these messages to see the logs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OKay. But including TorchConfig.cmake
would print some message, too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great Job
@@ -112,7 +112,16 @@ Examples: | |||
```shell | |||
git clone https://github.com/FlagOpen/FlagGems.git | |||
cd FlagGems | |||
pip install . | |||
pip install --no-build-isolation . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change README_cn.md
as well~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We add a document in doc/ now
@@ -0,0 +1,2 @@ | |||
option(FLAGGEMS_USE_EXTERNAL_TRITON_JIT "whether to use external triton jit library" OFF) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A CMake option may be added here later to decide whether to build unit tests.
Also we need add CMake option for multi-backend.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add _skbuild
(maybe build as well), dist
etc. into .gitignore to make git work dir clean~
Will triton_src merge into src/flag_gems later?
scikit-build-core nolonger use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add from . import c_operators
into flag_gems/__init__.py
and we need python functions to wrapper the api maybe
78b9a13
to
f68bddd
Compare
f68bddd
to
c40f999
Compare
c2dee37
to
f741bea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rewrite command part later
Thanks, I will merge it now for better collaboration. |
PR Category
Other
Type of Change
New Feature
Description
Add cpp wrapper with triton jit cpp runtime.
Issue
Progress
Performance