allenai / allenai/tango

Beaker Executor opens a ton of files

Aberta
#486 2 comentários 0 reações 1 responsável Reivindicada por @epwalsh Ver no GitHub
bug
Linguagem predominante
Python
Estrelas
572
Forks
55
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

### 🐛 Describe the bug

You have to do this in a catwalk context, on commit `e7c5d158b9e8f1c925b4894037b5371a1efdeab7`.
```Python
from tango import StepGraph
sg = StepGraph.from_file("experiments/everything/everything.jsonnet")
from tango import Workspace
ws = Workspace.from_url("beaker://ai2/task-complexity")
s = sg['trained_model_sciq_bert-base-uncased_1337']
r = ws.step_result(s)
```
At this point the Beaker Workspace will open millions of files, quickly exhausting the open file limit. Even when you Ctrl+C the proceedings, background threads keep trying to open files. Your console is now useless.

### Versions

asdasdasd

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.