Skip to content

Commit e1fe89f

Browse files
committed
fix
Signed-off-by: oliver könig <[email protected]>
1 parent 0aedd40 commit e1fe89f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nemo_run/core/execution/dgxcloud.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,12 +367,12 @@ def _stream_url_sync(self, url: str, headers: Dict[str, str], q: queue.Queue):
367367
try:
368368
with requests.get(url, stream=True, headers=headers, verify=False) as response:
369369
for line in response.iter_lines(decode_unicode=True):
370-
q.put(url, f"{line}\n")
370+
q.put((url, f"{line}\n"))
371371
except Exception as e:
372372
logger.error(f"Error streaming URL {url}: {e}")
373373

374374
finally:
375-
q.put(url, None)
375+
q.put((url, None))
376376

377377
def fetch_logs(
378378
self,

0 commit comments

Comments
 (0)