SafeTensorsParametersLoader

constructor(sourceProvider: () -> RandomAccessSource, onProgress: (current: Long, total: Long, message: String?) -> Unit = { _, _, _ -> })(source)

Parameters

sourceProvider

Factory providing RandomAccessSource to the SafeTensors file

onProgress

Optional progress callback (current, total, tensorName)