KServe REST rejects INT64 and UINT64 values outside 32-bit range
I maintainer di solito rispondono entro 2 giorni
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 25/100
Direzione di ricerca
Read the INT64 and UINT64 branches in src/rest_parser.cpp and the existing parser tests for these datatypes. Check how RapidJSON’s type checks pair with its 64-bit getters, then run the OVMS C++ parser test if the build tools are available. Done means both reproduction values parse successfully and are preserved in the protobuf contents.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
KServe REST requests with INT64 or UINT64 inputs are rejected when an integer value is outside the corresponding 32-bit range, even though the parser stores these inputs in 64-bit protobuf fields.
Reproduction
Send either input in a KServe v2 inference request:
{"inputs":[{"name":"input0","shape":[1],"datatype":"INT64","data":[2147483648]}]}
or:
{"inputs":[{"name":"input0","shape":[1],"datatype":"UINT64","data":[4294967296]}]}
Actual behavior
The REST parser returns REST_COULD_NOT_PARSE_INPUT for these values. In src/rest_parser.cpp, the INT64 branch calls GetInt64() but first requires IsInt(), and the UINT64 branch calls GetUint64() but first requires IsUint(). Those checks only accept values representable by 32-bit int and unsigned respectively.
Expected behavior
The parser should accept representable signed and unsigned 64-bit JSON integers for INT64 and UINT64 inputs and preserve their values in the corresponding protobuf contents.
Evidence and test status
The parser branches and RapidJSON type-check/getter pairings were inspected against the RapidJSON API semantics. Existing parser tests exercise only small values (1 through 4) for these datatypes, so they do not cover the 32-bit boundaries. The repository does not currently have Bazel/Bazelisk or a built ovms_test binary available, so the OVMS C++ parser test has not yet been run.
- 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 parser drops requested outputs except the lastForse già presa @YugShah1510 l’ha presa 3 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
openvinotoolkit/model_server#4690 ·
I maintainer di solito rispondono entro 2 giorni
-
Preserve double precision when parsing FP64 REST inputsForse già presa @YugShah1510 l’ha presa 3 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 6 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 7 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 8 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
-
extended_stabilizer: `std::pow(2, p/2.)` in `scalar_t::to_complex()` takes ~40% of runtime on LinuxForse già presa @mehmetniyazikayi l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
Qiskit/qiskit-aer#2502 ·
I maintainer di solito rispondono entro 1 giorno
-
Test failure on FreeBSD: #26 unexpected system_clock sourceForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertalow priority rt_lib tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
RobLoach/raylib-cpp#440 · 2 commenti ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno