Skip to content

Commit a7baf37

Browse files
Fix the mirror Issue and update the Docs.
1 parent b95b7ce commit a7baf37

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

quantllm/data/load_dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from datasets import load_dataset, Dataset, disable_progress_bars
1+
from datasets import load_dataset, Dataset
22
from typing import Optional, Dict, Any, Union
33
import os
44
from ..trainer.logger import TrainingLogger
@@ -20,7 +20,7 @@ def __init__(self, logger: Optional[TrainingLogger] = None):
2020
logger (TrainingLogger, optional): Logger instance
2121
"""
2222
self.logger = logger or TrainingLogger()
23-
disable_progress_bars() # Disable default progress bars
23+
2424

2525
def load_hf_dataset(
2626
self,

quantllm/trainer/logger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ def log_welcome_message(self):
4545
f"{LogLevel.SUCCESS.value}│ 💻 Supports CUDA, CPU, and Apple Silicon │{LogLevel.RESET.value}\n"
4646
f"{LogLevel.SUCCESS.value}│ │{LogLevel.RESET.value}\n"
4747
f"{LogLevel.SUCCESS.value}╰─────────────────────────────────────────────────────────────────────────╯{LogLevel.RESET.value}\n\n"
48-
)
49-
print(logo)
48+
)
49+
print(logo)
5050

5151
def _format_message(self, level: LogLevel, message: str) -> str:
5252
"""Format log message with timestamp and color."""

quantllm/utils/benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def plot_comparison(self, save_path: str = None):
352352
fig.suptitle('Quantization Method Comparison')
353353

354354
# Latency comparison
355-
df['mean_latency_ms'].plot(
355+
df['mean_latency_ms'].plot(
356356
kind='bar', ax=axes[0, 0], rot=45,
357357
title='Mean Inference Latency (ms)'
358358
)

0 commit comments

Comments
 (0)