Skip to content

Commit 4a7831b

Browse files
committed
decode_unicode=True
Signed-off-by: oliver könig <okoenig@nvidia.com>
1 parent db8e29a commit 4a7831b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nemo_run/core/execution/dgxcloud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def _stream_url_sync(self, url: str, q: queue.Queue):
351351
"""Stream a single URL using requests and put chunks into the queue"""
352352
try:
353353
with requests.get(url, stream=True, verify=False) as response:
354-
for line in response.iter_lines():
354+
for line in response.iter_lines(decode_unicode=True):
355355
q.put(line)
356356
except Exception as e:
357357
logger.error(f"Error streaming URL {url}: {e}")

0 commit comments

Comments
 (0)