Files
rustytorch/.gitignore
T
builderandClaude Sonnet 4.6 301f223b91 refactor(rustytorch): full clean review 2026-04-30
- fix(workspace): exclude crates/training/rtx-distributed from workspace members
  — RNCCL path deps absent in standalone checkout blocked all cargo operations
- refactor(rtx-backend-webgpu): split compute.rs (1654 lines) into compute/mod.rs
  (1040) + compute/conv.rs (628) — both within 1250-line limit
- fix(rtx-bench): add missing src/bin/main.rs declared in [[bin]] Cargo.toml entry
- fix(gitignore): narrow `bin/` exclusion to /bin/ only; add !**/src/bin/ exception
  to allow Rust source binary directories
- style(rtx-eval): 67x "literal".to_string() → "literal".to_owned() in automation,
  validation, metrics, lib, core, error modules and build.rs

All tests pass (64 tests across rtx-eval + rtx-backend-webgpu, 0 failures).
Clippy clean (-D warnings) on all changed crates.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-04-30 08:27:50 -07:00

188 lines
2.5 KiB
Plaintext

# Rust
target/
**/target/
Cargo.lock
# Debug binaries (top-level only, not src/bin/ source dirs)
/bin/
# Allow Rust source binary directories
!**/src/bin/
# Python virtual environments
.venv/
**/.venv/
.venv-*/
**/.venv-*/
venv/
**/venv/
__pycache__/
**/__pycache__/
*.pyc
# IDE/Editor files
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
# OS generated files
Thumbs.db
.DS_Store
.AppleDouble
.LSOverride
# Logs
*.log
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Coverage directory used by tools like istanbul
coverage/
# Build output
/dist/
/build/
# Temporary files
*.tmp
*.temp
# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
# Cache directories
.cache/
*.cache
# Debug files
*.pdb
# Rust-specific
**/*.rs.bk
*.pdb
# Coverage and profiling files
*.profraw
*.profdata
coverage-report.html
coverage/
# Model registry temporary files
**/model_registry/*.tmp
**/model_registry/*.temp
# Benchmark results
benches/results/
# Demo and test binaries (compiled artifacts, not source directories)
# Note: We explicitly allow demos/rtx-*-demo/ source directories
*-demo
*_demo
*-demos
!demos/rtx-*-demo/
!demos/rtx-*-demo/**
*_test
*_integration_test
test_*
*_kernel_test
vnext-demo
# Compiled binaries without extensions (in crates)
crates/**/ifft_verification
crates/**/validate_phase_magnitude
crates/**/*_complete
examples/*_integration
examples/colbert_integration
# Test binaries directory
tests/bin/
# GPU toolchain artifacts
gpu_toolchain_test
# ML Framework artifacts and large files
# PyTorch/LibTorch integration
**/libtorch/
**/.libtorch_cache/
**/torch_cache/
*.pt
*.pth
*.ckpt
*.checkpoint
# HuggingFace model cache
**/.cache/huggingface/
**/huggingface_hub/
**/.cache/transformers/
**/.cache/datasets/
**/.cache/sentence-transformers/
# Large model files and weights
*.safetensors
*.bin
*.h5
*.pb
*.onnx
*.tflite
**/*model*.json
**/*config*.json
**/pytorch_model.bin
**/model.safetensors
**/tokenizer.json
**/vocab.txt
**/merges.txt
# Dataset and data files
*.csv.gz
*.parquet
*.arrow
*.feather
**/data/raw/
**/data/processed/
**/datasets/
**/*.hdf5
**/*.h5
**/*.npy
**/*.npz
# Training artifacts
**/checkpoints/
**/runs/
**/logs/
**/wandb/
**/tensorboard/
**/.wandb/
**/mlruns/
# GPU profiling and CUDA
*.nvprof
*.nsys-rep
*.qdrep
*.nvvp
**/nsight_*/
**/cuda_profile/
# Jupyter and notebook artifacts
.ipynb_checkpoints/
**/.ipynb_checkpoints/
*.ipynb
# Additional ML frameworks
# TensorFlow
**/saved_model/
**/*.pb
# JAX
**/.jax_cache/
# ONNX
**/*.onnx
**/*.ort