codebase-inode-audit
CommunityAvoid inode quota crashes during ML scale-up experiments.
Education & Research#hpc#experiment validation#inode audit#ml scale-up#parallel filesystem#inode quota#slurm logs
Authordongzhuoyao
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Parallel filesystems used by HPC and ML training clusters have strict inode quotas, and unoptimized experiment code that writes millions of small files (such as per-sample images, per-epoch artifacts, or unbounded Slurm logs) can exhaust these quotas mid-run, causing costly job failures and wasted compute resources.
Core Features & Use Cases
- High-Risk Pattern Detection: Identifies common inode-heavy code patterns including per-sample image/latent dumps, per-epoch artifact directories, uncurated Hydra multirun output trees, and unbounded Slurm log storage.
- Quantitative Inode Pressure Estimation: Calculates projected total file counts for each risky output surface to measure potential inode usage against backend quotas.
- Readiness Gate Enforcement: Blocks progression to dryrun and fullrun stages if projected file counts exceed 80% of the target backend's inode quota, and mandates implementation of inode-safe fixes such as tar sharding, delete-after-score workflows, or output directory pinning.
- Real-World Use Case: Before launching a large-scale image generation training run on the LUMI supercomputer, run this audit to catch a pattern where the code writes one PNG per generated sample per evaluation step, which would produce 2 million files and exhaust the project's inode budget.
Quick Start
Use the codebase-inode-audit skill to scan your ML experiment codebase for inode risks before running a scale-up dryrun or fullrun.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: codebase-inode-audit Download link: https://github.com/dongzhuoyao/deepresearch/archive/main.zip#codebase-inode-audit Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.