pub fn remove_variant(root: &Path, variant: &str) -> Result<(), String>
Remove an installed libtorch variant.
If the removed variant was active, clears libtorch/.active.
libtorch/.active