GS::MASt3R::SafetensorsLoader
Safetensors file reader with mmap support (like llama.cpp)
Constructors
Instance methods
finalize
SourceLoad all tensors
load_by_prefix(prefix : String, device : Tensor::Device = Tensor::Device::CPU) : Hash(String, Tensor)
Load multiple tensors by prefix (e.g., "encoder.layer.0")
Load a single tensor by name
loaded_names
Sourcepath
Sourcetensors
Source