llm-training-workflows

Fine-tune large language models with LoRA, FSDP, and GRPO workflows.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/shichiyou/hermes-agent-001 --skill llm-training-workflows
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-training-workflows
Source: https://github.com/shichiyou/hermes-agent-001/tree/main/.devcontainer/hermes-backup/skills/mlops/llm-training-workflows
Command: npx skills add https://github.com/shichiyou/hermes-agent-001 --skill llm-training-workflows

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fine-tune and train large language models efficiently by combining parameter-efficient fine-tuning, distributed training, and reinforcement-learning post-training to reduce compute, memory, and development time.

Core Features & Use Cases

  • Parameter-Efficient Fine-Tuning (LoRA/QLoRA/PEFT) to train adapters instead of whole models.
  • Distributed Training with PyTorch FSDP to scale across multiple GPUs and nodes.
  • GRPO Reinforcement Learning with TRL for structured output and reward-based alignment.
  • Multi-adapter serving and production inference patterns for scalable deployment.
  • End-to-end training pipelines covering setup, training, evaluation, and deployment in a single workflow.

Quick Start

Install required libraries and begin a PEFT-based fine-tuning workflow on a multi-GPU setup.

Frequently Asked Questions about llm-training-workflows

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

FAQPage Schema
How do I fine-tune a large language model with LoRA or QLoRA to save memory?

Fine-tune large language models with LoRA or QLoRA by training lightweight parameter-efficient adapters instead of the entire model. This PEFT approach drastically reduces compute and memory requirements while maintaining performance for downstream tasks.

How does distributed training with PyTorch FSDP scale across multi-GPU clusters?

Distributed training with PyTorch FSDP shards model parameters, gradients, and optimizer states across multiple GPUs and nodes. This enables efficient scaling for large language models that exceed single-GPU memory limits during training.

Can I use GRPO with TRL for reinforcement learning alignment on my LLM?

Yes, you can use GRPO with TRL for reinforcement learning post-training. This combination enables structured output generation and reward-based alignment to refine large language model behavior for production inference workflows.

What is the best way to serve multiple LoRA adapters in production?

The best way to serve multiple LoRA adapters in production is through multi-adapter serving patterns. This approach allows scalable deployment of multiple fine-tuned PEFT adapters within a single inference workflow, reducing infrastructure overhead.

Do I need a multi-GPU setup for QLoRA fine-tuning and FSDP?

A multi-GPU setup is required for PyTorch FSDP distributed training but not strictly for QLoRA fine-tuning. QLoRA is designed to run on single GPUs, while FSDP specifically targets multi-GPU and multi-node clusters for larger models.

Why use parameter-efficient fine-tuning instead of full model training?

Use parameter-efficient fine-tuning instead of full model training to reduce compute, memory, and development time. PEFT trains small adapter modules rather than whole models, achieving comparable results with a fraction of trainable parameters.