-
Notifications
You must be signed in to change notification settings - Fork 53
[Feat] Lightning indexer op & GE helper engineering #203
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
base: main
Are you sure you want to change the base?
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
| bool curActSeqLenIsZero = false; | ||
| bool needDealActS1LessThanS1 = false; // S1的实际长度小于shape的S1长度时,是否需要清理输出 | ||
| uint32_t actMBaseSize = 0U; // m轴(gS1)方向实际大小 | ||
| uint32_t mBasicSizeTail = 0U; // gS1方向循环的尾基本块大小 |
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.
Need to translate Chinese code comment to English
24c5522 to
65ec442
Compare
|
/gemini check |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
| @@ -1,5 +1,6 @@ | |||
| # set the library output dir to the python dir for wheel package build | |||
| set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/python/sgl_kernel_npu/sgl_kernel_npu/lib) | |||
| set(ASCEND_INCLUDE_DIR ${ASCEND_HOME_PATH}/aarch64-linux/include) | |||
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.
pass env or option to replace ${ASCEND_HOME_PATH}/aarch64-linux/include
| at::TensorOptions().dtype(at::kByte).device(query.options().device())); | ||
|
|
||
| if (actualCaptureNum >= MAX_CAPTURE_NUM) { | ||
| static auto preillTilingBuffer = |
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.
preillTilingBuffer => prefill
It is uncached or uncaptured tilingBuffer. not only prefill
| return; | ||
| } | ||
| } | ||
| // throw std::runtime_error("SetAttrStr failed, attrName not exists"); |
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.
dont comment this check
Accuracy test passed on GSM8K dataset
