Add setup.sh, serve.patch and constraints.txt

#1
by b10-tv - opened

Adds the pinned training and serving runtime, as on mammoth-1:

  • setup.sh: installs OneJev @81ce62f with serve.patch, and the Decision Index kit @f5a6e4f, on the pytorch/pytorch:2.11.0-cuda12.8-cudnn9-devel image
  • serve.patch: the decision readout, the noncausal attention mask and Gemma 4 support (including --freeze-router and --freeze-norms-embeds)
  • constraints.txt: the package pins, with transformers 5.17.0 and torch from the image

The groundhog-1-sft example in basetenlabs/ml-cookbook runs setup.sh from this repo. Tested with an 8x H100 fine-tuning run on BANKING77.

mkirkby changed pull request status to merged

Sign up or log in to comment