Download cube/cube3d/model/transformers/cache.py from Testin616/Model3d: direct link, hf CLI and curl.
- Browser
- Download file 134 Bytes
-
https://huggingface.co/spaces/Testin616/Model3d/resolve/main/cube/cube3d/model/transformers/cache.py
- Command line
-
hf download hf://spaces/Testin616/Model3d/cube/cube3d/model/transformers/cache.py
-
curl -L -o cache.py https://huggingface.co/spaces/Testin616/Model3d/resolve/main/cube/cube3d/model/transformers/cache.py
134 Bytes
| from dataclasses import dataclass | |
| import torch | |
| class Cache: | |
| key_states: torch.Tensor | |
| value_states: torch.Tensor | |