Added more fixes

This commit is contained in:
paramthakkar123
2025-04-07 08:59:07 +05:30
parent 298178d669
commit 4304f5aaf5
4 changed files with 24 additions and 14 deletions

View File

@@ -3,6 +3,7 @@
import argparse
import json
import math
import os
import sys
import time
from pathlib import Path
@@ -16,7 +17,7 @@ from mlx.utils import tree_flatten
from models import LoRALinear
# Disable output buffering to see print statements in real-time
sys.stdout.reconfigure(line_buffering=True)
sys.stdout = os.fdopen(sys.stdout.fileno(), "w", buffering=1)
def build_parser():