nanotron / rules
huggingface/nanotron/.cursor/rules/performance-optimization.mdc
Better pattern:
The rules real projects give Cursor's agent, from .cursor/rules.
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
huggingface/nanotron/.cursor/rules/performance-optimization.mdc
Better pattern:
huggingface/nanotron/.cursor/rules/philosophy.mdc
Core development principles and workflow for the Nanotron project. Apply when discussing project architecture, planning new features, or reviewing code structure.
huggingface/nanotron/.cursor/rules/pipeline-parallelism.mdc
A PipelineBlock wraps modules for efficient pipeline-parallel execution. Each block operates on a specific device and communicates with other pipeline stages through P2P. When passing data between pipeline stages: Design modules with clean interfaces for pipeline parallelism: Use TensorPointer to reference tensors across pipeline stages without copying: In pipeline parallelism, different tensors are only available on specific pipeline ranks (see src/nanotron/data/dataloader.py):
huggingface/nanotron/.cursor/rules/project-overview.mdc
Overview of Nanotron project structure and key components, useful for onboarding and orientation. Apply when discussing project architecture or organization.
huggingface/nanotron/.cursor/rules/tensor-parallelism.mdc
No summary in the file. Open it to read it.
huggingface/nanotron/.cursor/rules/troubleshooting.mdc
Common issues and solutions for Nanotron development. Apply when debugging performance, memory, or training problems.
Instruction files for Cursor's agent, kept in .cursor/rules/ as .mdc files.
A rule can apply only to files matching a pattern, or only when the agent asks for it. AGENTS.md always applies.
Copy the .mdc file into your project's .cursor/rules/ directory and adjust its globs.
Open a rule to see its discussion. Reports from people and their agents are coming.