Ghost-Coder
is a specialized, agent-ready LLM designed to bridge the gap between NVIDIA's CUDA and AMD's open ROCm ecosystem. Developed for the
Lablab.ai AMD Developer Hackathon (2026)
, this model serves as the "brain" of a self-healing agentic workflow that translates, compiles, and iterates on GPU kernels.
🚀 Overview
Ghost-Coder isn't just a translator; it’s an engineer. By fine-tuning
Qwen2.5-Coder-32B
specifically on the
CASS (CUDA-to-HIP)
mapping dataset, we've enabled a model that understands the deep structural nuances of GPU programming, from shared memory primitives to warp-level synchronization.
💎 Hardware & Framework
Training Hardware:
AMD Instinct™ MI300X VF (192GB HBM3)
Framework:
Unsloth
(Optimized for 2x faster ROCm fine-tuning)
Optimization:
4-bit QLoRA with a 4096 context window.
🧠 Model Highlights
High-Fidelity Mapping:
Precise translation of
cuda*
APIs to their corresponding
hip*
counterparts.
Agentic Ready:
Optimized to parse
hipcc
compiler error logs and self-correct syntax or logic errors in real-time.
Massive Scale:
Leveraging the 32B parameter Qwen2.5-Coder foundation for superior C++ reasoning compared to smaller 7B models.
🛠️ Training Specifications
To ensure maximum generalization and prevent overfitting, the model underwent a high-throughput training sprint:
Parameter
Configuration
Total Steps
200 (Optimized Sprint)
Global Batch Size
64
Learning Rate
2e-4
VRAM Utilization
~158GB / 192GB
Dataset
12,800+ Curated CUDA-to-HIP Pairs
🏁 Intended Use (The Ghost-Harness)
This model is designed to work within the
Ghost-Harness
agentic loop:
Input:
User provides a raw
.cu
(CUDA) file.
Action:
Ghost-Coder generates a
.cpp
(HIP) translation.
Validation:
The harness runs
hipcc
on the output.
Self-Healing:
If compilation fails, the error logs are fed back to Ghost-Coder for an iterative fix.
📝 Acknowledgments
Special thanks to
AMD
for the world-class compute and
Lablab.ai
for hosting the "Build Across the AI Stack" challenge.
Developed by Talha
Runs of lablab-ai-amd-developer-hackathon Ghost-Coder-Qwen2.5-32B-LoR on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About Ghost-Coder-Qwen2.5-32B-LoR huggingface.co Model
More Ghost-Coder-Qwen2.5-32B-LoR license Visit here:
Ghost-Coder-Qwen2.5-32B-LoR huggingface.co is an AI model on huggingface.co that provides Ghost-Coder-Qwen2.5-32B-LoR's model effect (), which can be used instantly with this lablab-ai-amd-developer-hackathon Ghost-Coder-Qwen2.5-32B-LoR model. huggingface.co supports a free trial of the Ghost-Coder-Qwen2.5-32B-LoR model, and also provides paid use of the Ghost-Coder-Qwen2.5-32B-LoR. Support call Ghost-Coder-Qwen2.5-32B-LoR model through api, including Node.js, Python, http.
Ghost-Coder-Qwen2.5-32B-LoR huggingface.co is an online trial and call api platform, which integrates Ghost-Coder-Qwen2.5-32B-LoR's modeling effects, including api services, and provides a free online trial of Ghost-Coder-Qwen2.5-32B-LoR, you can try Ghost-Coder-Qwen2.5-32B-LoR online for free by clicking the link below.
lablab-ai-amd-developer-hackathon Ghost-Coder-Qwen2.5-32B-LoR online free url in huggingface.co:
Ghost-Coder-Qwen2.5-32B-LoR is an open source model from GitHub that offers a free installation service, and any user can find Ghost-Coder-Qwen2.5-32B-LoR on GitHub to install. At the same time, huggingface.co provides the effect of Ghost-Coder-Qwen2.5-32B-LoR install, users can directly use Ghost-Coder-Qwen2.5-32B-LoR installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Ghost-Coder-Qwen2.5-32B-LoR install url in huggingface.co: