Skip to content

Conversation

Kacper-Pietkun
Copy link
Contributor

@Kacper-Pietkun Kacper-Pietkun commented Sep 22, 2025

I added tests for custom ops defined in vllm_gaudi/ops:

  • For the tests of ops that are not using cuda kernels - native ops and hpu ops are triggered for the same input and their outputs are compared
  • For others tests that are using cuda kernels (so cannot be called with vllm-gaudi plugin) I created separate directory to store some predefined small tensors - weights, inputs and outputs (they are too big to hardcode them in tests). Such tests run hpu ops with loaded inputs and weights and compare their outputs with the loaded outputs.

Signed-off-by: Kacper Pietkun <[email protected]>
Signed-off-by: Kacper Pietkun <[email protected]>
@Kacper-Pietkun Kacper-Pietkun force-pushed the dev/kpietkun/tests_custom_op_correctness branch from 3786e06 to 961e87a Compare October 3, 2025 09:37
Copy link

github-actions bot commented Oct 3, 2025

🚧 CI Blocked

The main CI workflow was not started for the following reason:

This is a Draft PR. Please mark it as 'Ready for Review' to trigger the CI.

Signed-off-by: Kacper Pietkun <[email protected]>
Copy link

github-actions bot commented Oct 3, 2025

🚧 CI Blocked

The main CI workflow was not started for the following reason:

This is a Draft PR. Please mark it as 'Ready for Review' to trigger the CI.

1 similar comment
Copy link

github-actions bot commented Oct 3, 2025

🚧 CI Blocked

The main CI workflow was not started for the following reason:

This is a Draft PR. Please mark it as 'Ready for Review' to trigger the CI.

Signed-off-by: Kacper Pietkun <[email protected]>
@Kacper-Pietkun Kacper-Pietkun force-pushed the dev/kpietkun/tests_custom_op_correctness branch from 500c41d to ef42dd8 Compare October 3, 2025 12:07
Copy link

github-actions bot commented Oct 3, 2025

🚧 CI Blocked

The main CI workflow was not started for the following reason:

This is a Draft PR. Please mark it as 'Ready for Review' to trigger the CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant