Good shape overall. A few tweaks would push it into the top tier.

Ascend PyTorch adapter (torch_npu). Mirror of https://gitcode.com/Ascend/pytorch

Documentation

97

Install and run instructions9pt90

README documents how to install the project.

README12pt100

README is present.

License6pt100

Licensed under Other.

Contributing guide5pt100

Contributing guide is detailed and thorough.

Engineering

66

Issue and PR templates6pt0

No issue or PR templates found (−100 pts).

Add .github/ISSUE_TEMPLATE/ with bug_report.md and feature_request.md to guide contributors. It dramatically improves issue quality.

CI/CD14pt57

CI is configured (.github/workflows/_build-and-test.yml).

Tests18pt80

Test files detected (ci/access_control/strategy/test_file.py).

Reproducibility6pt80

Lockfile present (requirements.txt). Installs are reproducible.

Linting and formatting5pt100

Linter or formatter configured (.editorconfig).

Project health

100

Dependency manifest6pt100

Dependency manifest found (pyproject.toml).

Repository metadata5pt100

Repository has a description.

Activity5pt100

Actively maintained (pushed within the last month).

Housekeeping3pt100

.gitignore present.

Repository health signals

Activity, community, and responsiveness at scan time

Activity

  • Commits (30d / 90d)
  • 76
    Forks
  • 0
    Releases

Community

  • Community health
  • authors own >50% of commits
  • 541
    Watchers

Responsiveness

  • 7d 14h
    Median issue response
  • 9d 21h
    Median PR merge time
  • 108
    Open issues
Repository files41 root entries
  • .ci
  • .gitcode
  • .github
    Good: CI is configured (.github/workflows/_build-and-test.yml).
  • ci
    Good: Test files detected (ci/access_control/strategy/test_file.py).
    Good: Environment pinned via ci/docker/ARM/Dockerfile.
  • cmake
  • docker
  • docs
  • examples
  • figures
  • test
  • third_party
  • tools
  • torch_npu
  • torchnpugen
  • .clang-format
  • .clang-tidy
  • .cmakelintrc
  • .editorconfig
    Good: Linter or formatter configured (.editorconfig).
  • .flake8
  • .gitignore
    Good: .gitignore present.
  • .gitmodules
  • .lintrunner.toml
  • build_libtorch_npu.py
  • CMakeLists.txt
  • CONTRIBUTING.md
    Good: Contributing guide is detailed and thorough.
    Good: Contributing guide includes setup/install instructions.
    Good: Contributing guide describes code style expectations.
    Good: Contributing guide explains how to run tests.
    Good: Contributing guide describes the PR/review workflow.
    Good: Contributing guide includes code examples.
  • env.sh
  • generate_code.sh
  • LICENSE
    Good: Licensed under Other.
  • mypy-strict.ini
  • mypy.ini
  • OWNERS
  • pyproject.toml
    Good: Dependency manifest found (pyproject.toml).
  • pyrefly.toml
  • README.md
    Good: README is present.
    Good: README is well structured with multiple sections.
    Good: README includes screenshots or visuals. Great for first impressions.
    Good: README has code examples.
    Good: README links to a live demo or deployed app.
    Good: README includes status badges.
    Good: README documents how to install the project.
    Good: README documents how to run the project.
  • README.zh.md
  • requirements.txt
    Good: Lockfile present (requirements.txt). Installs are reproducible.
  • SECURITYNOTE.md
  • setup.cfg
  • setup.py
  • Third_Party_Open_Source_Software_Notice
  • version.txt