sandbox-gpu / index.html
burtenshaw's picture
burtenshaw HF Staff
Deploy GPU sandbox with T4 hardware
f3d33c3 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>hf-sandbox-gpu</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background: #0a0a0a;
color: #0f0;
font-family: 'SF Mono', 'Fira Code', monospace;
font-size: 14px;
line-height: 1.6;
padding: 2rem;
min-height: 100vh;
}
.container { max-width: 640px; margin: 0 auto; }
h1 {
font-size: 1.4rem;
font-weight: normal;
margin-bottom: 1rem;
padding-bottom: 1rem;
border-bottom: 1px solid #222;
}
h1::before { content: '$ '; opacity: 0.4; }
h2 {
color: #666;
font-size: 0.75rem;
font-weight: normal;
text-transform: uppercase;
letter-spacing: 0.1em;
margin: 2rem 0 0.5rem;
}
.prompt {
background: #111;
border-left: 2px solid #0f0;
padding: 0.75rem 1rem;
margin: 0.5rem 0;
color: #fff;
}
.prompt::before {
content: '→ ';
color: #0f0;
}
a { color: #0af; text-decoration: none; }
a:hover { text-decoration: underline; }
.dim { color: #444; }
.blink { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.gpu-badge {
display: inline-block;
background: linear-gradient(135deg, #76b900, #00a67e);
color: #000;
padding: 0.2rem 0.5rem;
border-radius: 3px;
font-size: 0.75rem;
font-weight: bold;
margin-left: 0.5rem;
}
</style>
</head>
<body>
<div class="container">
<h1>hf-sandbox<span class="gpu-badge">GPU</span><span class="blink">_</span></h1>
<p style="color:#888;">GPU-accelerated remote code execution for <a href="https://agentskills.io">ai agents</a></p>
<h2>install</h2>
<pre>git clone https://huggingface.co/spaces/burtenshaw/sandbox-gpu .claude/skills/hf-sandbox-gpu</pre>
<h2>create sandbox</h2>
<div class="prompt">create a GPU sandbox called my-sandbox on hugging face</div>
<h2>check gpu</h2>
<div class="prompt">run nvidia-smi in the sandbox to check GPU status</div>
<h2>train model</h2>
<div class="prompt">run train.py with GPU acceleration in the sandbox</div>
<h2>run inference</h2>
<div class="prompt">run inference on the model using CUDA</div>
<h2>background job</h2>
<div class="prompt">run train.py in the background and save output to a log file</div>
</div>
</body>
</html>