Repository navigation
Fixes
Local mode starts again with laya 0.3.24 and later. Newer laya refuses a question whose instructions are empty, and the zero-shot warm-up sent exactly that, so stuntd serve with no Jev upstream exited right after loading the checkpoint. The warm-up now asks a real question. A Jev question sent without instructions (the SDK leaves the field off when you do not set it) hit the same check in local mode; Laya is now asked such a question by its name.
The train extra is capped below laya 0.5, and CI has a new job that installs it with the newest laya and runs the test suite, so the code paths that meet a real laya are tested on every push. Checked by hand with laya 0.3.4 and 0.4.2: unit tests, slow tests on the real checkpoint, and stuntd serve answering a question without instructions.
Reported by MrJev in #10, with a version table that made it quick to pin down. Thanks.
Behaviour change to know
- In local mode, a question without
instructionsis now asked to zero-shot Laya with its name as the instructions, where 0.2.0 sent an empty string. Answers to such questions can differ.