h2o-llmstudio
Use H2O LLM Studio for no-code and CLI LLM fine-tuning, dataset/config preparation, training diagnostics, evaluation, prompting, export, and the Wave GUI runtime.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- h2o-llmstudio
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use H2O LLM Studio for no-code and CLI LLM fine-tuning, dataset/config preparation, training diagnostics, evaluation, prompting, export, and the Wave GUI runtime.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/repo-provenance.md1.9 KB
- 参考文档references/repo-routing-metadata.json539 B
- 参考文档references/runtime-setup.md3.8 KB
- 参考文档references/troubleshooting.md4.1 KB
- 脚本scripts/check_environment.py6.7 KB
03 SKILL.md 正文
H2O LLM Studio
Use this repo skill when a task involves H2O LLM Studio as a package or runtime: preparing datasets/configs, launching the Wave GUI, running or debugging fine-tuning experiments, understanding model/evaluation behavior, or prompting/exporting a trained experiment.
Before you act
- Read repo provenance if the user is working in a checkout and you need to decide whether this skill matches the current source version.
- Read runtime setup before recommending install, app, Docker, CUDA, DeepSpeed, or working-directory commands.
- Run or adapt scripts/check_environment.py for safe import/backend/runtime-asset diagnostics before starting services, downloads, or training.
- Use cross-cutting troubleshooting for Python version, package layout, CUDA/NVIDIA, DeepSpeed, keyring, data/model download, and credential failures.
Route by task
| User task | Read |
|---|---|
| Start or debug the no-code Wave GUI, Docker app, remote proxy, app workdir, settings, keyring, or browser/server lifecycle | app-and-ui |
| Build or validate YAML configs, choose problem types, map dataset columns, inspect data schemas, or round-trip config files | configuration-and-data |
Launch or diagnose train.py, CPU/GPU tiny smokes, multi-GPU/DeepSpeed, mixed precision, LoRA, output artifacts, or experiment status |
training-and-experiments |
| Understand model wrappers, losses, metrics, prediction files, plots, AI judge metrics, or generation vs forward-pass evaluation behavior | modeling-and-evaluation |
| Prompt a trained experiment, preflight saved artifacts, change generation parameters, publish to Hugging Face Hub, or hand off to h2oGPT | export-and-prompt |
Install and quick verification
From a user's own H2O LLM Studio runtime root, use the repo-supported Python 3.10 setup path before app or training work:
make setup
python scripts/check_environment.py --runtime-root . --check-config-assets
When make setup is not appropriate, create an isolated Python 3.10 environment and install the same locked/runtime dependency set described in runtime setup; do not modify a user-owned environment without approval.
Fast runtime facts
- Package metadata expects Python 3.10 and a GPU-oriented PyTorch/Transformers stack.
- The documented runtime is usually a source-layout H2O LLM Studio runtime root or Docker image, not a tiny import-only library. Commands that refer to
llm_studio/...should be run from the user's own runtime root or translated to an equivalent module/wrapper command. - Production fine-tuning is NVIDIA-GPU oriented. CPU-style unit/integration configs can validate mechanics, but they do not prove real large-model throughput or DeepSpeed/multi-GPU behavior.
- The app and config layers use runtime assets such as
prompts/,model_cards/,static/, andpyproject.toml; importingllm_studioalone is not enough to prove a working app/training root. - Optional or external services include Hugging Face Hub/model downloads, Kaggle/HF datasets, OpenAI-compatible judge metrics, W&B logging, S3/Azure/H2O Drive data connectors, Docker/NVIDIA container runtime, and browser UI tests.
Safe first checks
python scripts/check_environment.py --runtime-root . --check-cuda --check-config-assets
python sub-skills/configuration-and-data/scripts/inspect_config.py --help
python sub-skills/training-and-experiments/scripts/check_training_environment.py --help
python sub-skills/export-and-prompt/scripts/check_experiment_artifacts.py --help
These helpers diagnose environment/config/artifact readiness. They do not download models, start Wave, run training, call OpenAI, publish to Hugging Face, or mutate experiment outputs unless an option explicitly says so.
When to stop and ask
Ask before running long training, downloading datasets/models, starting a public-facing Wave server, using API/HF/W&B/cloud credentials, publishing to Hugging Face Hub, modifying a user-owned Python environment, changing Docker/NVIDIA host setup, or overwriting an experiment output directory.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).