hugging-face-jobs

Run UV scripts or Docker jobs on Hugging Face Jobs with HF_TOKEN.

Updated Feb 25, 2026
One-click install
npx skills add https://github.com/cpich3g/ai-cost-optimiser --skill hugging-face-jobs-cpich3g
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hugging-face-jobs
Source: https://github.com/cpich3g/ai-cost-optimiser/tree/main/.github/skills/hugging-face-jobs
Command: npx skills add https://github.com/cpich3g/ai-cost-optimiser --skill hugging-face-jobs-cpich3g

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires datasets, flashinfer-python, huggingface-hub[hf_transfer], hf-xet>= 1.1.7, torch, transformers, vllm>=0.8.5, numpy, tqdm, scikit-learn, polars>=1.31.0, huggingface-hub, ascii-graph, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill enables running arbitrary workloads on Hugging Face Jobs, with secure token handling, GPU/CPU/TPU hardware selection, and reliable persistence of results back to the Hub, eliminating the need for local compute resources.

Core Features & Use Cases

  • Unified platform to submit UV scripts or Docker-based jobs across CPU, GPU, and TPU flavors
  • Secure token management using secrets (HF_TOKEN) and optional environment variables
  • Built-in persistence options to push datasets, models, or artifacts to the Hugging Face Hub
  • Hardware flavor guidance and cost-awareness for workload planning

Quick Start

Submit a Hugging Face Jobs command with a secrets HF_TOKEN to run workloads and persist results to the Hub.

Frequently Asked Questions about hugging-face-jobs

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

FAQPage Schema
How do I run batch inference jobs on Hugging Face without local GPU compute?

You can run batch inference jobs on Hugging Face without local GPU compute by submitting UV scripts or Docker-based tasks to HF Jobs. The platform handles secure token management and hardware flavor selection across CPU, GPU, and TPU, pushing results directly to the Hub.

How do I securely manage my HF_TOKEN when submitting Docker-based jobs to Hugging Face?

To securely manage your HF_TOKEN when submitting Docker-based jobs, supply the token via Hugging Face secrets. The platform injects the secret at runtime, allowing your workload to authenticate and persist datasets or models to the Hub without exposing credentials in your script.

Can I persist datasets and models directly to the Hugging Face Hub after running a workload?

Yes, you can persist datasets and models directly to the Hugging Face Hub after running a workload. The skill includes built-in persistence options that push artifacts back to the Hub, eliminating the need to manually transfer results from temporary compute instances.

What is the best way to select hardware flavors for scheduled data processing on HF Jobs?

The best way to select hardware flavors for scheduled data processing on HF Jobs is using the skill's built-in hardware flavor guidance. It helps you match CPU, GPU, and TPU resources to your workload requirements while maintaining cost-awareness for planning and execution.

Does Hugging Face Jobs work with UV scripts for automated data processing pipelines?

Yes, Hugging Face Jobs works seamlessly with UV scripts for automated data processing pipelines. You can submit UV scripts directly as workloads, allowing you to execute Python-based processing logic remotely while leveraging the platform's secure token handling and result persistence.