Skip to main content

read_remote_model

Function read_remote_model 

Source
pub fn read_remote_model(
    urls: &[String],
    format: FileFormat,
    remote: &Remote<'_>,
) -> Result<(LazyFrame, ModelSummary), RangeError>
Expand description

Read urls (remote model files, or SafeTensors indexes naming them) as one tensor table, fetching only headers, as read_model does on disk. RangeError::NoRanges only for one standalone file (downloadable instead).