Skip to content

Commit 63f0604

Browse files
committed
multithread: print debug
1 parent 42fc895 commit 63f0604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gguf-py/gguf/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def get_data_by_range(cls, url: str, start: int, size: int = -1) -> bytes:
243243

244244
# --- Multithreading Path ---
245245
if size >= cls.MULTITHREAD_THREDSHOLD and cls.MULTITHREAD_COUNT > 1:
246-
# print(f"Using {cls.MULTITHREAD_COUNT} threads for size {size / (1024*1024):.2f} MB")
246+
print(f"Using {cls.MULTITHREAD_COUNT} threads to download range of {size / (1024*1024):.2f} MB")
247247
num_threads = cls.MULTITHREAD_COUNT
248248
results: list[Any] = [None] * num_threads # Store results or exceptions
249249
threads: list[threading.Thread] = []

0 commit comments

Comments
 (0)