DSSD-dev / dssd /__init__.py
FlorianVal's picture
DSSD demo from DSSD_demo 4a3ca5b (dssd 73b3f27)
74679d4 verified
Raw History Blame Contribute Delete
410 Bytes
"""DSSD: exact self-speculative decoding with pruned exit heads and context copying."""
__version__ = "0.1.0"
def __getattr__(name):
# lazy: `import dssd` must not import transformers (the engine modules do not need it)
if name in ("DSSD", "Generation", "StreamEvent"):
from . import api
return getattr(api, name)
raise AttributeError(f"module 'dssd' has no attribute {name!r}")