Add support for loading dflash2 model in speculators format (#53797)
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user