Spaces:
Sleeping
Sleeping
Download dssd/__init__.py from FlorianVal/DSSD-dev: direct link, hf CLI and curl.
- Browser
- Download file 410 Bytes
-
https://huggingface.co/spaces/FlorianVal/DSSD-dev/resolve/main/dssd/__init__.py
- Command line
-
hf download hf://spaces/FlorianVal/DSSD-dev/dssd/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/FlorianVal/DSSD-dev/resolve/main/dssd/__init__.py
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}") | |