CI follow-ups: table compile test compares no values; pretrained-model cache gets evicted
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- build-system, testing-qa
Direzione di ricerca
Start with test_torch_compiled_models in tests/pytorch/test_models_table_structure_pt.py and compare it with the detection compile test that checks raw outputs at atol=1e-4. For the cache, read the pytest-torch job in the GitHub Actions workflow and its actions/cache step. Done means the table test fails on a real compile regression and the PR job restores main's cache without saving over it.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Two follow-ups found while profiling the pytorch test job for #2170.
1. The tablecenternet compile test does not compare outputs
test_torch_compiled_models in tests/pytorch/test_models_table_structure_pt.py says "Compare that outputs are close", but only asserts len(out) == len(compiled_out) == 1 and that the cells/num_rows/num_cols keys exist. The input is random noise, and on it the predictor returns no cells (checked locally), so nothing is compared even in principle. A real table image, or a comparison of the raw model outputs at atol=1e-4 like the detection test does, would make it catch a compile regression.
2. The pretrained-model cache is evicted most of the time
doctr-models-${{ github.job }}-v1 is about 5.7 GB, and the repo's cache limit is 10 GB. In 29 of the last 40 pytest-torch runs the restore missed. A PR run that misses saves its own PR-scoped 5.7 GB copy, which pushes main's entry out, and the next run misses again. A miss costs about 50 to 100 s per run. A possible fix is to restore with actions/cache/restore on pull requests and save only on pushes to main, so PR runs reuse main's copy without evicting it.
- Lingua principale
- Python
- Stelle
- 6.4k
- Fork
- 684
- Merge medio
- 20h 40m
- PR unite (30g)
- 30
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun 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 mindee/doctr
-
Per-task YAML configuration for the reference training scriptsForse già presa @felixdittrich92 l’ha presa 20 giorni fa. Apertaext: references topic: documentation type: new feature
mindee/doctr#2149 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Release tracker - v1.2.0Forse di nuovo libera @felixdittrich92 l’ha presa 62 giorni fa e non c’è nessuna pull request aperta. Apertacritical
mindee/doctr#2126 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[table structure] Extend table structure datasetForse di nuovo libera @simont2k l’ha presa 83 giorni fa e non c’è nessuna pull request aperta. Apertatopic: table comprehension
mindee/doctr#2119 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
type: enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 15/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di mindee/doctr
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
mihai-vlc/sublime-jsfmt#56 ·
-
comp/cli comp/plugins P2 type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
NousResearch/hermes-agent#141917 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Go device SDK: Whisper transcriber keeps buffering and transcribing audio appended after Stop()Forse già presa @apoorvdarshan l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
BasedHardware/omi#22770 ·
I maintainer di solito rispondono entro 1 giorno
-
bug needs-acceptance wg/router-models-inference-runtime
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
vllm-project/semantic-router#5295 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
huggingface/huggingface_hub#5210 ·
I maintainer di solito rispondono entro 1 giorno