mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-05 02:51:59 +00:00
[Inference/SpecDec] Support GLIDE Drafter Model (#5455)
* add glide-llama policy and modeling * update glide modeling, compitable with transformers 4.36.2 * revise glide llama modeling/usage * fix issues of glimpsing large kv * revise the way re-loading params for glide drafter * fix drafter and engine tests * enable convert to glide strict=False * revise glide llama modeling * revise vicuna prompt template * revise drafter and tests * apply usage of glide model in engine
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from .drafter import Drafter
|
||||
from .struct import DrafterOutput
|
||||
from .struct import DrafterOutput, GlideInput
|
||||
|
||||
__all__ = ["Drafter", "DrafterOutput"]
|
||||
__all__ = ["Drafter", "DrafterOutput", "GlideInput"]
|
||||
|
Reference in New Issue
Block a user