[FlagGems Operator Development Competition] Added roll operator - #1428
[FlagGems Operator Development Competition] Added roll operator#1428YoihenBachu wants to merge 4 commits into
Conversation
I’ve rerun pre-commit and pushed a new PR addressing the workflow issue. Could you please take another look and approve the workflows when you have a moment? If possible, I’d also appreciate a quick review of the workflows for the other operators I submitted earlier, as getting early feedback would help catch any blockers sooner and give me some relief. Thanks! |
5950652 to
734d4c0
Compare
|
Is this error related to my development, or is it something else? |
|
@YoihenBachu Double checked the gate status, the job failure is related to the implmentation of |
734d4c0 to
13256df
Compare
|
please resolve conflicts |
I am confused that there is already a roll.py implemented inside the ops. I believe that is exactly where I have to place my implementation and the conflict cannot be resolved if there is already a roll.py. Is this operator closed for competition? |
I will be pleased to resolve the merge conflicts and update it. How do I move forward from here? Do I replace the existing implementation with my own? |
YES! |
13256df to
d9a1bdb
Compare
|
Done. Please review |
|
Hi, thank you for your participation in the FlagOS Open Computing Competition 🙏 After review, we have chosen to move forward with a different implementation for this operator. As a result, this PR will be closed. We appreciate your time and contribution, and hope to see more of your submissions in the future. |
PR Category
Type of Change
Description
Implements
rolloperator for FlagGems using Triton.This PR adds support for the roll operation with:
torch.roll(input, shifts, dims=None)The implementation follows the FlagGems operator development pattern using dynamic kernel code generation (similar to tile/repeat operators) with proper index remapping for circular shifts.
Issue
Progress
Performance
Performance benchmarks show competitive results against PyTorch native implementation:
Test Coverage
Run benchmarks with:
NOTE One performance test failed due to a lack of GPU hardware capacity. Cannot be resolved.
Run tests with: