- Rename assets/ to docs/, split into guides/ and developer/ - Add get-started.md: installation + 5-step quickstart - Add guides/evaluation.md: 7 eval scripts with CLI args - Add guides/distributed.md: DDP/FSDP, gradient accumulation, NCCL - Add developer/internals.md: loss formulas, RoPE, KV cache math - Add developer/cuda_kernels.md: build system, benchmarks, file layout - Fix storage_format doc in preprocessing.md - Update cross-references in README.md, README-zh-CN.md, Dockerfile
37 lines
522 B
Plaintext
37 lines
522 B
Plaintext
# Ignore everything
|
|
*
|
|
|
|
# Allow directories to be traversed
|
|
!*/
|
|
|
|
# Allow specific file types and root files
|
|
!astrai/**/*.py
|
|
!scripts/**/*.py
|
|
!tests/**/*.py
|
|
!csrc/**/*.py
|
|
|
|
!csrc/**/*.cu
|
|
!csrc/**/*.h
|
|
!csrc/**/*.cuh
|
|
|
|
!scripts/**/*.sh
|
|
|
|
# Allow GitHub files
|
|
!/.github/**
|
|
|
|
# Allow root files
|
|
!/.gitattributes
|
|
!/.dockerignore
|
|
!/Dockerfile
|
|
!/docker-compose.yml
|
|
!/docs/**
|
|
!/CONTRIBUTING.md
|
|
!/LICENSE
|
|
!/pyproject.toml
|
|
!/README.md
|
|
# Allow extension modules (only source .py)
|
|
!/astrai/extension/**/*.py
|
|
|
|
# Allow build files
|
|
!/setup.py
|