agentleFS
Hugging FaceKnown publisherhuggingface/pytorch-image-models/AGENTS.md

pytorch-image-models

AGENTS.md37k starsChanged 2 months agoApache-2.0View on GitHub

  • Installs packages

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about huggingface/pytorch-image-models

The biggest 5 of 51 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 51

Talked about on GitHub and Hacker News (51 times).

On GitHub · 50

45 more on GitHub

On Hacker News · 1

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run tests: pytest tests/ (the full suite is slow as it covers every model, run the tests relevant to your change)

    line 5
  2. Very specific:

    Run specific test: pytest tests/test_models.py::test_specific_function -v

    line 6
  3. Very specific:

    Run tests in parallel: pytest -n 4 tests/

    line 7
  4. Distinctive:

    Keep diffs minimal: no reformatting, style changes, or refactors of code unrelated to the change.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md - PyTorch Image Models (timm)

Build/Test Commands

  • Install: python -m pip install -e .
  • Run tests: pytest tests/ (the full suite is slow as it covers every model, run the tests relevant to your change)
  • Run specific test: pytest tests/test_models.py::test_specific_function -v
  • Run tests in parallel: pytest -n 4 tests/
  • Filter tests: pytest -k "substring-to-match" tests/

Code Style Guidelines

  • Line length: 120 chars
  • Indentation: 4-space hanging indents, arguments should have an extra level of indent, use 'sadface' (closing parenthesis and colon on a separate line)
  • Typing: Use PEP484 type annotations in function signatures
  • Docstrings: Google style (do not duplicate type annotations and defaults)
  • Imports: Standard library first, then third-party, then local
  • Function naming: snake_case
  • Class naming: PascalCase
  • Error handling: Use try/except with specific exceptions
  • Conditional expressions: Use parentheses for complex expressions

Contributions

  • See CONTRIBUTING.md for full guidelines.
  • Please don't open issues or PRs for edge cases unlikely to be hit in real use. Maintainer time is limited, and small fixes like these add review load without helping users. Focus on bugs that affect real training, inference, or model-loading workflows, and include a realistic scenario that triggers the bug.
  • Keep diffs minimal: no reformatting, style changes, or refactors of code unrelated to the change.
  • Preserve backwards compatibility: existing models, pretrained weights, and public functions should produce the same outputs unless the change is fixing a real bug.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

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.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.