parse_method_spec

Function parse_method_spec 

Source
pub fn parse_method_spec(method: &str) -> Result<MethodSpec>
Expand description

Parse a method string.

Supported formats:

  • file:/path/to/model.safetensors
  • file:/path/to/model.safetensors;policy:...
  • cfg:key=value,...[;policy:...]
  • positional cfg CSV
  • existing model path