Skip to content
Back to skills

Budget Scheduler

ASecurity

Schedule AdaLoRA global rank budgets with warmup, cubic decay, mask intervals, and final fixed allocation.

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
testingpython

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill budget_scheduler --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Budget Scheduler?

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

Security grade badge for Budget Scheduler
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-budget-scheduler/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-budget-scheduler)

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: budget_scheduler
description: Schedule AdaLoRA global rank budgets with warmup, cubic decay, mask intervals, and final fixed allocation.
---

# Global Budget Scheduler

Use this skill when implementing AdaLoRA's gradual budget reduction and deciding when rank masks should be applied.

## Inputs

- Current step and total training steps.
- Initial warmup and final warmup lengths.
- Initial total rank and target total rank.
- Mask interval.

## Outputs

- Current rank budget.
- `mask` boolean indicating whether to apply rank masking at this step.

## Workflow

1. Validate that total steps exceed initial plus final warmup and that the target rank is no larger than the initial rank.
2. Return the full initial rank during initial warmup with no masking.
3. In the decay phase, compute `target + (initial-target) * (1-progress)^3` and mask only on interval steps.
4. In final warmup, return the target rank and keep masking enabled so the final rank pattern remains fixed.

## Validation

Run `python scripts/budget_schedule.py --self-test` or the generated tests.

## Limitations

The schedule handles integer rank budgets. It does not choose target budgets; those are experiment hyperparameters from the recovery plan.

Files in this skill

  • SKILL.md1.2 KB
  • scripts/budget_schedule.py1.4 KB
  • tests/test_budget_schedule.py556 B

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.