Add support for loading dflash2 model in speculators format (#53797)

Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
This commit is contained in:
Fynn Schmitt-Ulms
2026-08-27 16:12:01 -06:00
committed by GitHub
parent 479eeb32d2
commit f79a2f5582
2 changed files with 26 additions and 0 deletions
@@ -134,4 +134,6 @@ class SpeculatorsConfig(PretrainedConfig):
}
if result["method"] == "peagle":
result.update({"method": "eagle3", "parallel_drafting": True})
elif result["method"] == "dflash2":
result["method"] = "dflash"
return result