You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kserve's TorchserveModel load doesn't take into consideration the fact that torchserve has auth enabled by default.
Error logs
INFO:kserve:Copying contents of /mnt/models/model-store to local
INFO:root:Loading model .. 1 of 10 tries..
INFO:root:The model layoutlm-pytorch-model is not ready
INFO:root:Sleep 30 seconds for load layoutlm-pytorch-model..
...
...
...
INFO:root:Loading model .. 2 of 10 tries..
2024-08-29T10:16:01,232 [INFO ] epollEventLoopGroup-3-1 ACCESS_LOG - /127.0.0.1:50126 "GET /models/model?customized=false HTTP/1.1" 400 4
Installation instructions
Using docker image pytorch/torchserve-kfs:0.11.1 to serve a model
Model Packaging
Model was packaged using torch-model-archiver and the same mar file would work on the older pytorch/torchserve-kfs:0.8.0
config.properties
No response
Versions
Copied from within docker image pytorch/torchserve-kfs:0.11.1
🐛 Describe the bug
Kserve's TorchserveModel load doesn't take into consideration the fact that torchserve has auth enabled by default.
Error logs
Installation instructions
Using docker image
pytorch/torchserve-kfs:0.11.1
to serve a modelModel Packaging
Model was packaged using
torch-model-archiver
and the same mar file would work on the olderpytorch/torchserve-kfs:0.8.0
config.properties
No response
Versions
Copied from within docker image
pytorch/torchserve-kfs:0.11.1
Repro instructions
config.properties
file and DO NOT disable authpytorch/torchserve-kfs:0.11.1
- should fail to load as the management request doesn't include auth tokenPossible Solution
Read
key_file.json
and use the token in the requestThe text was updated successfully, but these errors were encountered: