sft-launch-leonardo

Launch, monitor, and clean up LLaMA-Factory SFT jobs on the Leonardo cluster.

276|37|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/open-thoughts/OpenThoughts-Agent --skill sft-launch-leonardo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sft-launch-leonardo
Source: https://github.com/open-thoughts/OpenThoughts-Agent/tree/main/.claude/skills/sft-launch-leonardo
Command: npx skills add https://github.com/open-thoughts/OpenThoughts-Agent --skill sft-launch-leonardo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps data scientists and ML engineers launch, monitor, and clean up SFT jobs on the Leonardo cluster, handling offline data, no-internet compute nodes, and post-patch adjustments to run end-to-end experiments reliably.

Core Features & Use Cases

  • End-to-end SFT job launch on Leonardo with pretokenization considerations and offline-dataset handling.
  • Post-patch guidance for conda activation, workdir, and path alignment to ensure successful sbatch execution.
  • Multi-node deployment guidance with 24h walltime management, canary blockers, and offline upload workflows for HF.

Quick Start

Prepare your local config and run the launch command, then apply the mandatory sbatch patch and submit on Leonardo.

Frequently Asked Questions about sft-launch-leonardo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run SFT jobs on the Leonardo cluster with no internet access on compute nodes?

To run SFT jobs on Leonardo with no internet access, you must use offline datasets and apply post-run uploads via sbatch tunnels for Hugging Face. This skill handles offline-data handling and no-internet-on-compute constraints by enforcing mandatory local patch steps.

What's the best way to launch multi-node LLaMA-Factory SFT jobs on Leonardo?

The best way to launch multi-node LLaMA-Factory SFT jobs on Leonardo is to use the data_shared_file_system options and manage 24h walltime limits. This skill provides multi-node deployment guidance with canary blockers to ensure reliable, reproducible runs.

How do I prepare the environment for a LLaMA-Factory SFT job on Leonardo?

Preparing the environment for a LLaMA-Factory SFT job on Leonardo requires post-patch guidance for conda activation, workdir, and path alignment. You must apply mandatory local patch steps to the sbatch template to ensure successful execution.

Does LLaMA-Factory require pretokenization when using offline datasets on Leonardo?

Yes, LLaMA-Factory requires pretokenization considerations when using offline datasets on Leonardo. The skill covers pretokenization considerations alongside offline-dataset handling to ensure your SFT job runs end-to-end reliably without internet access.

Why does my sbatch SFT job on Leonardo fail after submission?

Your sbatch SFT job on Leonardo may fail due to missing mandatory local patch steps, incorrect path alignment, or unconfigured data_shared_file_system options. The skill enforces canary blocker guidance and environment preparation to prevent these common execution failures.

Can I upload Hugging Face artifacts from Leonardo compute nodes without internet?

You can upload Hugging Face artifacts from Leonardo compute nodes without internet by using post-run uploads via sbatch tunnels. This skill includes offline upload workflows specifically designed to bypass the no-internet-on-compute constraints.