github MakazhanAlpamys/Soup v0.13.2
v0.13.2 — Test coverage improvements

latest releases: v0.76.0, v0.75.2, v0.75.1...
6 months ago

What's New

Addresses TDD review findings with 11 additional tests covering critical code paths:

New Tests

  • _load_model exit paths: adapter without base model, corrupt adapter_config.json
  • _generate branches: greedy decoding (temp=0), sampling (temp>0), fallback formatter without chat_template, role formatting (system/user/assistant), token count from tensor shape
  • max_tokens bounds: rejects 0 and values above 16384 at CLI level
  • TensorBoard happy path: confirms flag is accepted when tensorboard is installed

Stats

  • 917 tests (+40 since v0.12.0), 44 test files, 57.92% coverage

Install / Upgrade

pip install --upgrade soup-cli

Don't miss a new Soup release

NewReleases is sending notifications on new releases.