Download native/compat.py from gatilin/tokenflow_clipb_32k_visual_codec: direct link, hf CLI and curl.
- Browser
- Download file 156 Bytes
-
https://huggingface.co/gatilin/tokenflow_clipb_32k_visual_codec/resolve/main/native/compat.py
- Command line
-
hf download hf://gatilin/tokenflow_clipb_32k_visual_codec/native/compat.py
-
curl -L -o compat.py https://huggingface.co/gatilin/tokenflow_clipb_32k_visual_codec/resolve/main/native/compat.py
156 Bytes
| def get_parameter_device(module): | |
| return next(module.parameters()).device | |
| def get_parameter_dtype(module): | |
| return next(module.parameters()).dtype | |