KServe REST rejects INT64 and UINT64 values outside 32-bit range
Los mantenedores suelen responder en 2 días
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 25/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C++
- Estrellas
- 952
- Forks
- 285
- Merge medio
- 3 d 5 h
- PR fusionados (30 d)
- 45
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de openvinotoolkit/model_server
-
KServe REST parser drops requested outputs except the lastPosiblemente ocupada @YugShah1510 la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
openvinotoolkit/model_server#4690 ·
Los mantenedores suelen responder en 2 días
-
Preserve double precision when parsing FP64 REST inputsPosiblemente ocupada @YugShah1510 la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
openvinotoolkit/model_server#4686 ·
Los mantenedores suelen responder en 2 días
-
Rerank with an empty documents array or object documents fails with an internal tokenizer errorPosiblemente ocupada @Daksha1611 la tomó hace 5 días. Abierto
Dificultad 4/5 1-2 días Aptitud para principiantes 24/100
openvinotoolkit/model_server#4671 ·
Los mantenedores suelen responder en 2 días
-
Downloading an image from a URL has no timeoutPosiblemente ocupada @Daksha1611 la tomó hace 5 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
openvinotoolkit/model_server#4669 ·
Los mantenedores suelen responder en 2 días
-
max_tokens and best_of reject a value equal to their configured limitPosiblemente ocupada @Daksha1611 la tomó hace 6 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
openvinotoolkit/model_server#4666 ·
Los mantenedores suelen responder en 2 días
Todos los issues de openvinotoolkit/model_server
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
bulletphysics/bullet3#4819 ·
-
[YSQL] Local-node initdb reads postgres.bki, but YB clusters bootstrap only from yb_postgres.bkiAbiertoarea/ysql kind/enhancement priority/low status/awaiting-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
yugabyte/yugabyte-db#35763 ·
Los mantenedores suelen responder en 1 día
-
[mimalloc] update to 3.6.0Abiertocategory:port-update
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 2 días
-
MinGW build faillureAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
facebookresearch/faiss#5775 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Eval bug: minimax-m3: build_moe_ffn() drops the per-expert NVFP4 scale → garbled output (M3.1 Flash)Abiertobug-unconfirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día