Why are some file formats ignored when pulling a repository?
Hi,I’m trying to deploy an inference endpoint with a custom handler.However, my model weights aren’t available in the /repository folder of the image so it fails to initialize.Here are the first lines of logs:INFO | Used configuration:INFO | Repository ID: <repository-id>INFO | Repository Revision: <repository-version>INFO | Start loading image artifacts fromhuggingface.coINFO | Ignore regex pattern for files, which are not downloaded:onnx,tar.gz, rust, *mlmodel,tflite, tf,openvino,ckpt, flax, *safetensorsThis would explain why I can’t find my weights, as they are a .ckpt file.What is the purpose of ignoring these files?Is it possible/safe to remove a specific format from this regex and or to remove this regex at all?Thank you in advance.
2024-01-29T13:43:30Z
Same here. Lost a day before pointing out that pulling ignoring my onnx files from a huggingface model
2024-04-08T16:16:56Z
For anyone struggling with this issue, it seems to come from the “Framework” setting in the “Advanced configuration” panel when creating an inference endpoint. By default, it will select “PyTorch”, which will ignore the mentioned file formats. If you don’t want these file formats to be ignored, just select “Custom” for this field.
2024-04-09T04:17:22Z
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.