Skip to content
Back to skills

Export And Optimization

ASecurity

"Routes EasyCV export, pruning, quantization, TorchAccelerator, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolsbackend

Works with

  • cli

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill export-and-optimization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Export And Optimization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Export And Optimization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-export-and-optimization/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-export-and-optimization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: export-and-optimization
description: "Routes EasyCV export, pruning, quantization, TorchAccelerator, and
  inference-optimization workflows."
metadata:
  disco-role: operating
disable-model-invocation: true
license: Apache 2.0
---

# Export and optimization

Use this sub-skill when the task is to package, speed up, compress, prune, or otherwise optimize an EasyCV checkpoint for inference.

It covers the export front door, the compression utilities, and the advanced backend-dependent optimization paths.

## Read these references first

- `references/export.md` for raw / JIT / Blade / ONNX export behavior and artifact naming.
- `references/optimization.md` for pruning, quantization, TorchAccelerator, and analysis helpers.
- `references/troubleshooting.md` for missing extras, backend mismatches, and export-format issues.
- Root `references/cli-reference.md` for the installed-package command front doors.

## What belongs here

Include tasks such as:

- exporting a checkpoint for inference consumption
- choosing raw, JIT, Blade, or ONNX export behavior
- keeping preprocess / postprocess sidecars together with the exported model
- pruning or quantizing a YOLOX-style model
- using TorchAccelerator-specific configs or runtime notes
- checking FLOPs, parameters, or inference time with the repo analysis helpers

## What stays elsewhere

- Training or finetuning the source checkpoint -> `sub-skills/training-and-evaluation/`
- Running the exported artifact on files or tables -> `sub-skills/prediction-and-inference/`
- Dataset layout and conversion helpers -> `sub-skills/data-preparation/`

## Typical decision flow

1. Decide whether the model should stay raw or be exported for inference.
2. Check whether the target environment has the backend package for the chosen optimization path.
3. Choose the export format and any preprocess / postprocess wrapping.
4. Keep the exported sidecar files together.
5. For pruning or quantization, confirm the extra dependency stack before you start.

## Common success signals

- The export command writes the expected model file and sidecars.
- The exported artifact reloads with the corresponding predictor class.
- Optional optimization dependencies are installed only for the paths that need them.
- The output format matches the predictor path that will consume it later.

## Common optimization surfaces

- `blade_compression` and `pai_nni` are optional extras for advanced compression flows.
- `onnxruntime` is needed for ONNX consumption paths.
- `torchacc` requires the documented CUDA runtime and container path.
- Exported JIT / Blade models may need a matching `test_pipeline` or preprocess artifact.

Files in this skill

  • SKILL.md2.6 KB
  • references/export.md1.5 KB
  • references/optimization.md1.6 KB
  • references/troubleshooting.md1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.