Prune YOLOWorld head with C2fAttn Modules? #21660
Replies: 1 comment 1 reply
-
👋 Hello @edoardocastagnini, thank you for your interest in Ultralytics 🚀! This is an automated response — an Ultralytics engineer will also assist you here shortly. We recommend a visit to the Docs for general guidance where you can find many Python and CLI usage examples and where many of the most common questions may already be answered:
If this is a 🐛 Bug Report, please provide a minimum reproducible example (MRE) to help us debug it: https://docs.ultralytics.com/help/minimum-reproducible-example/ If this is a custom training ❓ Question, please provide as much information as possible, including dataset image examples and training logs, and verify you are following our Tips for Best Training Results: https://docs.ultralytics.com/guides/model-training-tips/ Join the Ultralytics community where it suits you best. For real-time chat, head to Discord 🎧: https://discord.com/invite/ultralytics. Prefer in-depth discussions? Check out Discourse: https://community.ultralytics.com/. Or dive into threads on our Subreddit to share knowledge with the community: https://www.reddit.com/r/Ultralytics/ UpgradeUpgrade to the latest ultralytics package including all requirements in a Python>=3.8 environment with PyTorch>=1.8 to verify your issue is not already resolved in the latest version: pip install -U ultralytics EnvironmentsYOLO may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
Status
To help us assist you faster regarding pruning the YOLOWorld head and C2fAttn/MaxSigmoidAttnBlock specifics:
Thanks again for the detailed context — we’ll take a closer look soon! 🙌 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m working on YOLOWorld, and I’ve successfully applied pruning across the backbone using Torch-Pruning’s tools. However, I’m struggling with pruning the model’s HEAD, specifically modules of type C2fAttn, which include the MaxSigmoidAttnBlock.
Torch-Pruning’s ViT-style head pruning methods are incompatible and often causes shape mismatches, so I was wondering if anyone already explored pruning strategies for YOLOWorld’s head, or is there guidance on this scenario?
Beta Was this translation helpful? Give feedback.
All reactions