Add a flush function to the Run class
@kzscisoft já está trabalhando nisso.
Desde 7/11/2024.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
Sometimes the direct dispatcher is impractical to use, as it results in prohibitively many requests being made to the server. But in these cases, users may still want to be able to query metrics that they have already told a Run to upload.
For this case, we need a .flush() function which will empty any queues in the dispatcher (sending their contents to the server). Crucially, control should not flow out of the .flush() function until all those uploads have finished, so that any subsequent queries of that data are guaranteed to be correct.
The use case that has made this requirement apparent is using connectors (which upload lots of things to a run - so many that the direct dispatcher causes problems) with the optimization framework (where we often want to query the contents of a still-open run just after metrics have been sent to it).
- Linguagem predominante
- Python
- Estrelas
- 4
- Forks
- 1
- Merge médio
- 22h 21min
- PRs com merge (30d)
- 6
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de simvue-io/python-api
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
simvue-io/python-api#994 ·
-
bug
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 68/100
simvue-io/python-api#538 ·
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
simvue-io/python-api#1015 ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 65/100
simvue-io/python-api#1000 · 2 comentários ·
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
simvue-io/python-api#987 ·
Todas as issues de simvue-io/python-api
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
-
EvaluationSuite.run fails with default args_for_task and mutates supplied kwargsTalvez já em andamento @ktz03 assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
huggingface/evaluate#825 ·
Mantenedores costumam responder em até 1 dia
-
dependencies feature github_actions good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
wemake-services/wemake-django-template#3149 ·
Mantenedores costumam responder em até 1 dia
-
[request] vsg/1.1.16Abertaupstream update
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
conan-io/conan-center-index#31142 ·
Mantenedores costumam responder em até 1 dia
-
area:core bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia