Skip to content

Validity of Split-K, Revisited #71

@sohnryang

Description

@sohnryang

Thanks for the question.

#63 was about pointwise -> (split-k) matmul. However, the question here is about (split-k) matmul -> pointwise. These two are completely different situations. As for when split-k can be applied, please use linear algebra to decide.

Re the validator, like I explained before, may rule out innovative scheduling. An example is the famous flash attention, which was not in anyone's "official" scheduling playbook until it's discovered.

Originally posted by @yarongmu-google in #67

I don't think this clarification is sufficient. As far as I know, linear algebra doesn't precisely specify what is valid for split-k execution (as it's an implementation detail rather than math), let alone dictate what kind of pointwise and matmul fusion is possible. For example, "using linear algebra to decide" is insufficient to rule out the option 1 (recomputation) in #63's point 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions