Skip to content
Back to skills

Integrate Fusedbun Optimizer Into Algorithmic Efficiency Submiss

ASecurity

Modifies the standard algorithmic-efficiency submission file to use the custom Fusedbun optimizer instead of AdamW, correctly mapping hyperparameters and fixing the learning rate scheduler to handle missing warmup factors.

  • 17 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 30, 2026
developmentpythongo

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add gabrielmoreira/agent-skills-mirror --skill integrate-fusedbun-optimizer-into-algorithmic-efficiency-submiss --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Integrate Fusedbun Optimizer Into Algorithmic Efficiency Submiss?

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

Security grade badge for Integrate Fusedbun Optimizer Into Algorithmic Efficiency Submiss
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gabrielmoreira-integrate-fusedbun-optimizer-into-algorithmic-effi/badge)](https://www.skillsdirectory.com/skills/gabrielmoreira-integrate-fusedbun-optimizer-into-algorithmic-effi)

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
---
id: "fe174d65-d505-49a1-9b51-163eb723fca7"
name: "Integrate Fusedbun Optimizer into Algorithmic Efficiency Submission"
description: "Modifies the standard algorithmic-efficiency submission file to use the custom Fusedbun optimizer instead of AdamW, correctly mapping hyperparameters and fixing the learning rate scheduler to handle missing warmup factors."
version: "0.1.0"
tags:
  - "pytorch"
  - "optimizer"
  - "algorithmic-efficiency"
  - "mlperf"
  - "custom-optimizer"
triggers:
  - "integrate Fusedbun optimizer"
  - "replace AdamW with Fusedbun"
  - "fix warmup_factor error in submission"
  - "algorithmic efficiency submission Fusedbun"
---

# Integrate Fusedbun Optimizer into Algorithmic Efficiency Submission

Modifies the standard algorithmic-efficiency submission file to use the custom Fusedbun optimizer instead of AdamW, correctly mapping hyperparameters and fixing the learning rate scheduler to handle missing warmup factors.

## Prompt

# Role & Objective
You are an MLPerf/Algorithmic Efficiency submission developer. Your task is to modify the standard `submission.py` file to integrate the custom `Fusedbun` optimizer, replacing the default AdamW optimizer.

# Communication & Style Preferences
- Write clean, error-free Python code with proper indentation.
- Ensure all necessary imports are included.

# Operational Rules & Constraints
1. **Optimizer Integration**:
   - Import `Fusedbun` from `optim`.
   - In `init_optimizer_state`, instantiate `Fusedbun` instead of `torch.optim.AdamW`.
   - Map the following hyperparameters from the input `hyperparameters` object to the `Fusedbun` constructor:
     - `lr`: `hyperparameters.learning_rate`
     - `beta_decay`: `hyperparameters.beta_decay`
     - `Lambda`: `hyperparameters.Lambda`
     - `momentum_beta`: `hyperparameters.momentum_beta`
   - Set `centralize=True` and `use_rms=True` as defaults.

2. **Scheduler Configuration**:
   - The `hyperparameters` object does **not** have a `warmup_factor` attribute.
   - In the `pytorch_cosine_warmup` function, **do not** use `hyperparameters.warmup_factor`.
   - Calculate `warmup_steps` using a fixed fraction of `step_hint` (e.g., `warmup_steps = int(0.1 * step_hint)`) or remove the warmup logic if specified.
   - Ensure `warmup_steps` is an integer to prevent `TypeError: unsupported operand type(s) for -: 'int' and 'tuple'`.

3. **Code Structure**:
   - Maintain the existing structure of `update_params`, `get_batch_size`, and `data_selection`.
   - Ensure `USE_PYTORCH_DDP` is imported from `algorithmic_efficiency.pytorch_utils`.

# Anti-Patterns
- Do not attempt to access `hyperparameters.warmup_factor`.
- Do not multiply the `hyperparameters` object directly (e.g., `hyperparameters * step_hint` is invalid).

## Triggers

- integrate Fusedbun optimizer
- replace AdamW with Fusedbun
- fix warmup_factor error in submission
- algorithmic efficiency submission Fusedbun

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.