Request to enable components for the redactor snap

Hello team,

Can you please enable components for the redactor snap. Uploads currently fail with:

Issues while processing snap:
- Snap is not allowed to use components

About the snap: redactor is a local, AI-backed tool that redacts sensitive information from text and log files. It runs a GLiNER2 model locally with PyTorch.

Why we need components: The base snap ships the CPU build of PyTorch. We want to offer GPU acceleration as an optional component, so users without a supported GPU don’t download it:

Component Contents Size
torch-xpu PyTorch XPU build plus the Intel GPU compute runtime ~1.8 GB

On a supported Intel GPU, redaction runs about 3-5× faster than on the CPU. The configure hook detects a supported GPU by reading PCI vendor and device IDs (through the opengl plug) and installs the component with snapctl install +torch-xpu. We plan to add components for other GPU vendors later.

Details

Thank you!

This request has been added to the queue for review by the @reviewers team.

Hi

You have been added to the component publishers.

Best regards, K

1 Like