[Bug]: GPQA CoT choice shuffles reuse caches from a different seed
Los mantenedores suelen responder en 1 día
@JunkaiWang-TheoPhy ya está trabajando en esto.
Desde el 2/12/2026.
- #23271 de @JunkaiWang-TheoPhy — abierto
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- python
- Área
- testing-qa
Línea de trabajo
Read tensorrt_llm/evaluate/lm_eval_tasks/gpqa/cot_zeroshot_aa/utils.py, focusing on process_docs and the datasets.Dataset.map call. Reproduce the cache mismatch with the on-disk and in-memory datasets described in the issue, then check how the mapping fingerprint accounts for the random seed. Done when both calls with seed 456 produce the same answer letters; linked PR #23271 is already open.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
System Info
TensorRT-LLM main at c29791e46a7ef586921114da197d5d6be899bdaf. Reproduced with Python 3.12 and Hugging Face Datasets 5.2.0 on CPU. No GPU, model, or GPQA download is required.
Reproduction
- Create a tiny
datasets.Datasetwith the GPQA columnsIncorrect Answer 1throughIncorrect Answer 3andCorrect Answer. Repeat a row with distinct choices eight times, save the dataset to disk, and load it back so mapping can cache to Arrow. - Call
process_docsintensorrt_llm/evaluate/lm_eval_tasks/gpqa/cot_zeroshot_aa/utils.pywithrandom.seed(123). Setrandom.seed(456)and call it again with the same on-disk dataset. - Set
random.seed(456)and call the same helper with a freshly constructed in-memory dataset containing the same rows. Compare theanswerletters from the second and third calls.
Expected behavior
With the same GPQA inputs and seed, the second and third calls should give the same order and answer letters. An earlier evaluation under a different seed should not affect the prompts used in a later evaluation.
Actual behavior
The on-disk transform under seed 456 reuses the cache written under seed 123. With the fixture above, it begins with answer letter B. The fresh seed-456 transform begins with D.
Additional notes
The callback shuffles answers using module-level Python RNG state. The Arrow fingerprint hashes the map function and its arguments, so the previous seed remains invisible to the cache key. Datasets cache hashing
- Lenguaje dominante
- Python
- Estrellas
- 15.2k
- Forks
- 3k
- Merge medio
- 2 d 21 h
- PR fusionados (30 d)
- 477
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- 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 NVIDIA/TensorRT-LLM
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.xPosiblemente ocupada @NimaVaziri la tomó hoy. AbiertoPytorch
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NVIDIA/TensorRT-LLM#23406 ·
Los mantenedores suelen responder en 1 día
-
Inference runtime Windows
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
NVIDIA/TensorRT-LLM#23394 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: MMLU subsampling changes when evaluators are interleavedPosiblemente ocupada @LeNeLeNeWo la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NVIDIA/TensorRT-LLM#23273 ·
Los mantenedores suelen responder en 1 día
-
Trace-replay Pareto window includes the drain when sessions finish out of admission orderPosiblemente ocupada @sbeierle la tomó hace 3 días. AbiertoTesting
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
NVIDIA/TensorRT-LLM#23077 ·
Los mantenedores suelen responder en 1 día
-
LongBench V2 blog command breaks on inline comments after continuationsPosiblemente ocupada @ddlw la tomó hace 25 días. AbiertoDoc
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
NVIDIA/TensorRT-LLM#21879 ·
Los mantenedores suelen responder en 1 día
Todos los issues de NVIDIA/TensorRT-LLM
Issues similares
-
[Resource]: SpaicelyAbiertoresource-submission validation-passed
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
hesreallyhim/awesome-claude-code#3875 · 1 comentario ·
-
[Bug]: Ajax Pro login issueAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
bvis/aegis-hass#725 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
datasektionen/cashflow#468 ·
-
dont call alembic upgrade until we check whether or not the cache DB has an alembic version stampAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
#1643 unrecoverable split: 1 digest with a 403 — two earlier captures of the same URL are real 200sAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Robin-IA/Congressional-Letters-Dev#1684 ·
Los mantenedores suelen responder en 1 día