Retrieves the metadata from a safetensors file.
(path)
| 445 | |
| 446 | |
| 447 | def get_safetensors_metadata(path): |
| 448 | """Retrieves the metadata from a safetensors file.""" |
| 449 | return safetensors.safe_open(path, "pt").metadata() |
| 450 | |
| 451 | |
| 452 | def ema_update_dict(values, updates, decay): |
nothing calls this directly
no outgoing calls
no test coverage detected