Open
Conversation
…nv-vk # Conflicts: # src/layer/vulkan/deformableconv2d_vulkan.cpp
Member
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6618 +/- ##
=========================================
Coverage 93.42% 93.43%
=========================================
Files 873 875 +2
Lines 275524 281737 +6213
=========================================
+ Hits 257406 263232 +5826
- Misses 18118 18505 +387 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Member
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a Vulkan backend for DeformableConv2D, including packed and GEMM-based compute shaders (with an optional cooperative-matrix path) and the corresponding Vulkan layer implementation.
Changes:
- Introduces Vulkan compute shaders for deformable conv2d in packed, packed+GEMM, and cooperative-matrix GEMM variants.
- Adds
DeformableConv2D_vulkanlayer implementation with pipeline creation, weight packing/upload, and runtime dispatch (mask/no-mask, GEMM vs non-GEMM, coop-mat vs non-coop). - Implements weight packing for both standard packed and cooperative-matrix layouts.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/layer/vulkan/shader/deformableconv2d_packed.comp | Packed direct deformable-conv compute shader (mask optional). |
| src/layer/vulkan/shader/deformableconv2d_packed_gemm.comp | Packed GEMM-style deformable-conv shader processing 4 spatial positions per invocation (mask optional). |
| src/layer/vulkan/shader/deformableconv2d_gemm_cm.comp | Cooperative-matrix GEMM deformable-conv shader (fp16 storage path, mask optional). |
| src/layer/vulkan/deformableconv2d_vulkan.h | Declares the Vulkan layer, pipelines, and cooperative-matrix tuning parameters. |
| src/layer/vulkan/deformableconv2d_vulkan.cpp | Implements pipeline creation, weight packing/upload, padding handling, and runtime dispatch across shader variants. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…nv-vk # Conflicts: # src/layer/vulkan/deformableconv2d_vulkan.cpp
Contributor
Author
bug fixed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.