Post
-
Custom harness recovery for benchmarking Qwen 3.8 27B
Note that to benchmark Qwen 3.8 27b (and its quantizations such as Bonsai 2 27b) more fairly, you might need to build some custom harness features, mainly to work around the overthinking issue E.g. inject </think> when the 16k token budget is spent and continue generation In my runs on vanilla pi, model fails some tasks because it finishes its thinking budget and the session just dies with stopReason: length I am building support in my osolmaz/localpi pi distribution so that the harness can recover from such issues automatically, and other potential issues with small models such as looping. I use this mainly for testing models locally and benchmarking in @harborframework But like regular pi, you can just take and it and customize it with extensions as you wish!Image hidden -
You can find the repo here: github.com/osolmaz/localpi