Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 13 min read How-to mediumAdept

We Got Claude to Build CUDA Kernels and teach open models!

upskill is a CLI that uses a strong teacher model (Claude Opus 4.5) to turn an agent trace into a portable Agent Skill (SKILL.md), auto-generates test cases, and measures skill lift on cheaper or local student models with and without the skill. Applied to building CUDA kernels with Hugging Face's kernel-builder, a ~520-token skill raised a quantized local GLM-4.7-Flash from 40% to 85% on the generated tests. The gains were not uniform across models. Some models used fewer tokens with the skill, while Opus gained no accuracy and spent more tokens, so each model should be evaluated on both accuracy and token cost before a skill is adopted.

Related posts

  • CoderForge-Preview: SOTA open dataset for training efficient coding agents

    Together AI hardMaster

    CoderForge-Preview is an open dataset of 258K test-verified coding agent trajectories (155K passing) covering 51K tasks across 1,655 repositories from R2E-Gym, SWE-Smith and SWE-Rebench. The trajectories were generated with Qwen3-Coder-480B in OpenHands Docker environments, filtered by rejection sampling and permissive-license audits, and cost about $130K to produce at a ~90% prompt cache hit rate. Fine-tuning Qwen3-32B on the passing trajectories, using Ulysses sequence parallelism, multipacking and token-level loss normalization at 128K context, reaches 59.4% pass@1 on SWE-Bench Verified, and a 4B model reaches 43.0%. Ablations show a repetition penalty helps only early checkpoints, so later checkpoints should be run without one.

  • Custom Kernels for All from Codex and Claude

    Hugging Face mediumAdept

    Hugging Face packaged CUDA kernel expertise (GPU architecture guides for H100/A100/T4, diffusers and transformers integration patterns, vectorized kernel templates, benchmark scripts) into an agent skill that lets Claude and Codex generate complete kernel-builder projects with PyTorch bindings. Agent-written RMSNorm kernels averaged 1.88x over PyTorch for LTX-Video and 1.94x for Qwen3-8B on H100 in BF16, with Qwen3 speedups growing from 1.58x at 128 tokens to 2.47x at 8192. End to end, LTX-Video gained only 6% (1.43x with torch.compile), consistent with RMSNorm taking about 5% of compute. The post also walks through building all PyTorch/CUDA variants with Nix and publishing to the Kernel Hub for one-line loading via get_kernel.

  • Train AI models with Unsloth and Hugging Face Jobs for FREE

    Hugging Face mediumAdept

    Unsloth on Hugging Face Jobs can fine-tune small models like LiquidAI/LFM2.5-1.2B-Instruct on managed cloud GPUs. Unsloth claims ~2x faster training and ~60% less VRAM, so a run can cost a few dollars. The guide covers submitting a job directly with `hf jobs uv run` and installing a Hugging Face model-trainer skill so coding agents like Claude Code or Codex can generate a UV script, submit it, and report Trackio monitoring links. It includes an example 4-bit LoRA SFT script using TRL, GPU flavor recommendations by model size (~$0.40–$3.00/hr), and tips for prompting agents. Free credits are offered through the Unsloth Jobs Explorers organization.

  • Codex is Open Sourcing AI models

    Hugging Face mediumAdept

    Hugging Face Skills, a repository of agent instructions loaded via AGENTS.md (or Claude Code Skills), lets OpenAI Codex run end-to-end fine-tuning experiments on Hugging Face Jobs. From a short prompt it validates the dataset, picks hardware, submits TRL training (SFT, DPO, GRPO), tracks metrics in Trackio, runs lighteval evaluations and keeps a markdown experiment report up to date. In the walkthrough, a LoRA SFT of Qwen3-0.6B on open-r1/codeforces-cots raises HumanEval pass@1 from about 0.30 to 0.34, and the model is then converted to quantized GGUF for llama.cpp. Rough costs are $1-2 for models under 1B, $5-15 for 1-3B and $15-40 for 3-7B with LoRA, and models above 7B are not yet supported.

  • Is it agentic enough? Benchmarking open models on your own tooling

    Hugging Face mediumAdept

    A benchmarking harness measures not just whether a coding agent solves a task with a library, but how much work it took: turns, tokens, time, errors, and behavior "markers" such as whether it used a CLI or the pipeline API. Using transformers as the case study, open models driven by the pi coding agent run across models × revisions × tasks × three tiers (bare install, cloned source, packaged Skill), with each run on Hugging Face Jobs. Adding a CLI and Skill cut time for large models like Kimi-K2.6, GLM-5.1 and MiniMax-M2.7. In the clone tier it raised median input tokens from about 4k to 6.4k, because agents read the new CLI code. Small models such as Qwen3-4B sometimes did worse, since they lean on memorized API patterns, so library changes aimed at agents should be measured against the models expected to use them.

The quest for software engineering knowledge.

Look:
Layout: