Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 659 Bytes

File metadata and controls

40 lines (28 loc) · 659 Bytes

Contributing

Thanks for contributing to cosmic.

Development setup

poetry install

Build the C++ extension

poetry run python -c "from cosmic.extension import get_extension; get_extension(verbose=True)"

Lint and format

poetry run ruff format .
poetry run ruff check .

Tests

poetry run pytest

Benchmark

poetry run python benchmark_llm_finetune.py

Pull request checklist

  • Keep CPU-only constraints intact (no CUDA files or CUDA build logic)
  • Add or update tests for functional changes
  • Keep structured logging deterministic
  • Update documentation if behavior changes