KServe REST parser drops requested outputs except the last
I maintainer di solito rispondono entro 2 giorni
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start with KFSRestParser::parseOutputs() and parseOutput() in the REST parser, then review src/test/kfs_rest_parser_test.cpp. Add coverage using the two-output request from the issue and verify both names are preserved in order in the parsed ModelInferRequest. An open linked pull request (#4691) is already addressing this issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
A KServe v2 REST inference request can specify multiple requested outputs, but the parser currently retains only the last entry in the outputs array.
Reproduction
Send a request containing two requested outputs:
{
"inputs": [{"name":"input0","shape":[1],"datatype":"FP32","data":[1.0]}],
"outputs": [{"name":"output0"},{"name":"output1"}]
}
Actual behavior
The parser returns successfully, but its ModelInferRequest protobuf contains only output1. KFSRestParser::parseOutputs() iterates over the JSON array and calls parseOutput() for each entry. parseOutput() calls requestProto.mutable_outputs()->Clear() before adding the current output, so each iteration erases the previous entries.
Expected behavior
Both requested outputs should be preserved, in request order. The KServe request schema defines outputs as a repeated field.
Evidence and test status
This is a deterministic source-level reproduction from the two-output JSON above and the Clear() inside the per-entry parser. Existing src/test/kfs_rest_parser_test.cpp tests cover single-output requests only. The targeted C++ parser test will be added; Bazel/Bazelisk and a built test binary are not available in the current environment, so runtime execution may not be possible here.
- Lingua principale
- C++
- Stelle
- 952
- Fork
- 285
- Merge medio
- 3g 5h
- PR unite (30g)
- 45
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di openvinotoolkit/model_server
-
KServe REST rejects INT64 and UINT64 values outside 32-bit rangeForse già presa @YugShah1510 l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
openvinotoolkit/model_server#4688 ·
I maintainer di solito rispondono entro 2 giorni
-
Preserve double precision when parsing FP64 REST inputsForse già presa @YugShah1510 l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
openvinotoolkit/model_server#4686 ·
I maintainer di solito rispondono entro 2 giorni
-
Rerank with an empty documents array or object documents fails with an internal tokenizer errorForse già presa @Daksha1611 l’ha presa 5 giorni fa. Aperta
Difficoltà 4/5 1-2 giorni Idoneità per principianti 24/100
openvinotoolkit/model_server#4671 ·
I maintainer di solito rispondono entro 2 giorni
-
Downloading an image from a URL has no timeoutForse già presa @Daksha1611 l’ha presa 6 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
openvinotoolkit/model_server#4669 ·
I maintainer di solito rispondono entro 2 giorni
-
max_tokens and best_of reject a value equal to their configured limitForse già presa @Daksha1611 l’ha presa 7 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
openvinotoolkit/model_server#4666 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di openvinotoolkit/model_server
Issue simili
-
Remove source files from packaging for deb, zip, etcForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
OpenSpace/OpenSpace#4353 · 1 commento ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
justcallmekoko/ESP32Marauder#1656 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
macOS: a double-click on a notarized altairsim is refused, and the docs give only the offline caseForse già presa @anhaoXie l’ha presa oggi. Apertadocumentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Decompiler: convertCharRef() in xml.y overflows its int4 accumulator on long character referencesForse già presa @kaayzouee l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
NationalSecurityAgency/ghidra#10009 ·
I maintainer di solito rispondono entro 2 giorni