# Generated by Cargo
# will have compiled files and executables
debug/
target/
target-*/

# These are backup files generated by rustfmt
**/*.rs.bk
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
# RustRover
#  JetBrains specific template is maintained in a separate JetBrains.gitignore that can
#  be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
#  and can be added to the global gitignore or merged into this file.  For a more nuclear
#  option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/
# VSCode
# .vscode is not sensitive to security, so we can keep it in the repo. Useful for Pylint configuration.
*.code-workspace
.vscode
# Other local ide/environment
.claude
.codex
.kilocode
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
#  Usually these files are written by a python script from a template
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/
# Translations
*.mo
*.pot
# Django stuff:
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
docs/plans/
# PyBuilder
.pybuilder/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
#   For a library or package, you might want to ignore these files since the code is
#   intended to run in multiple environments; otherwise, check them in:
# .python-version
# pipenv
#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
#   However, in case of collaboration, if having platform-specific dependencies or dependencies
#   having no cross-platform support, pipenv may install dependencies that don't work, or not
#   install all needed dependencies.
#Pipfile.lock
# UV
#   Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
#   This is especially recommended for binary packages to ensure reproducibility, and is more
#   commonly ignored for libraries.
#uv.lock
# poetry
#   Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
#   https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock
# pdm
#   Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
#   pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
#   in version control.
#   https://pdm.fming.dev/latest/usage/project/#working-with-version-control
.pdm.toml
.pdm-python
.pdm-build/
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# `env/` above is the Python-virtualenv convention and is unanchored, so it
# also swallows `bin/env` — the crate behind the `pie-env` command. Re-include
# the directory itself (a negation inside an excluded dir would never be seen).
!bin/env/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# pytype static type analyzer
.pytype/
# Cython debug symbols
cython_debug/
# Ruff stuff:
.ruff_cache/
# PyPI configuration file
.pypirc
# Prompt files
*.prompt
.DS_Store
program_cache/
*.model
.run/
backend/backend-pytorch
*.wasm
# logs and temporary files
logs
*.log
.plan
*profiling_result.json
/profiling-artifacts/
# Locally archived Markdown documents.
/docs/
# No MCP files
.memory-bank
# raw eval data
cuda-protocol-tests*
metal-protocol-tests*
cuda_artifacts.tar*
tensor_references
# Github Spec-kit
.spec-kit/
# Node.js
node_modules/
/package-lock.json
!website/package-lock.json
wandb/
# Website (Docusaurus)
website/build/
website/.docusaurus/
website/.cache-loader/
website/src/data/models.json
*.pt
*.zt
PIEX.md
pie/rollout_logs/
*.out
*.csv
.tmp/

# CUDA build scratch (accidentally committed; do not track)
.bigtmp/

# Staged by crates/engine-metal/csrc/CMakeLists.txt from eta-compiler's include/.

# Generated by `cargo test -p eta-compiler --test cuda_golden emit_engine_test_kernel`.
tests/engine-fixtures/
build-cuda/

# The engine binary copy used for local runs (see the tart notes).
pie-tart

# Staged by kernels-metal/build.rs from eta-compiler; generated, not a source.
/.recovered/
/.orig_gemm.cpp

# Derived JavaScript-facing WIT world (npm run derive-wit / generate-bindings)
javascript/inferlet/wit/

# Run output and scratch: `out/` was committed once already.
out/
marlin_scratch/

target-wasm/
javascript/server-web/pkg/
javascript/server-web/dist/
javascript/server/pie-server*.node
javascript/server/npm/*/pie-server.node
javascript/**/*.tgz
tests/browser/models
tests/browser/models2b
tests/browser/models4b
tests/browser/models9b
tests/browser/models-tiny/
tests/browser/inferlets/
tests/browser/languages/
tests/browser/tools/package*.json
crates/kernels-wgpu/tools/wgsl/
scripts/bench/browser/results/*.raw
