mirror of
https://github.com/deepseek-ai/FlashMLA
synced 2025-06-26 18:15:54 +00:00
add fp8 ut
This commit is contained in:
@@ -70,8 +70,7 @@ mha_fwd_kvcache_mla(
|
||||
const at::Tensor &tile_scheduler_metadata, // num_sm_parts x TileSchedulerMetaDataSize
|
||||
const at::Tensor &num_splits, // batch_size + 1
|
||||
c10::optional<const at::Tensor> &descale_q, // batch_size
|
||||
c10::optional<const at::Tensor> &descale_k, // batch_size
|
||||
c10::optional<const at::Tensor> &descale_v // batch_size
|
||||
c10::optional<const at::Tensor> &descale_k // batch_size
|
||||
) {
|
||||
auto dprops = at::cuda::getCurrentDeviceProperties();
|
||||
bool is_sm90 = dprops->major == 9 && dprops->minor == 0;
|
||||
|
||||
Reference in New Issue
Block a user