Skip to content

Commit 8cb4a71

Browse files
committed
Remove assert in DownloadManager.download function
1 parent 367d2bd commit 8cb4a71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/together/filemanager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ def download(
213213
if not fetch_metadata:
214214
file_size = int(response.headers.get("content-length", 0))
215215

216-
assert file_size != 0, "Unable to retrieve remote file."
216+
# TODO: We are commenting this out while we figure out why we get file_size == 0.
217+
# assert file_size != 0, "Unable to retrieve remote file."
217218

218219
with tqdm(
219220
total=file_size,

0 commit comments

Comments
 (0)