Skip to content

Add unit tests for kernel implementations #951

Open

Description

@lockshaw

While operators are currently tested with alignment tests, these test the full FlexFlow stack (python -> c++ -> cuda), which makes bug localization difficult. Adding unit tests for the raw kernel implementations would improve stability/correctness, increase readability (by making clear which pointers should be non-null, which are fine to be null), and improve error localization.

May depends on non-parallel tensor shape inference from #948 depending on how the tests are written

Activity

  1. lockshaw commented on Feb 8, 2024

    @lockshaw
    CollaboratorAuthor

    For now, this should focus on just exercising the test code and making sure it doesn't crash--the story for testing functionality of the kernel code (just alignment tests, additional C++ tests, etc.) will be decided later

  2. added
    kernels
    on Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kernels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions