isIndexFile

Check if a file path looks like a SafeTensors index file.

Return

True if the path ends with .safetensors.index.json

Parameters

path

File path or filename