mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-29 08:43:26 +08:00
chore(lora): running pre-commit hook
This commit is contained in:
parent
3ddd41e288
commit
f96a25c7d8
@ -1,9 +1,9 @@
|
|||||||
# Copyright © 2023-2024 Apple Inc.
|
# Copyright © 2023-2024 Apple Inc.
|
||||||
|
|
||||||
import sys
|
|
||||||
import argparse
|
import argparse
|
||||||
import json
|
import json
|
||||||
import math
|
import math
|
||||||
|
import sys
|
||||||
import time
|
import time
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
@ -15,7 +15,6 @@ import utils as lora_utils
|
|||||||
from mlx.utils import tree_flatten
|
from mlx.utils import tree_flatten
|
||||||
from models import LoRALinear
|
from models import LoRALinear
|
||||||
|
|
||||||
|
|
||||||
# Disable output buffering to see print statements in real-time
|
# Disable output buffering to see print statements in real-time
|
||||||
sys.stdout.reconfigure(line_buffering=True)
|
sys.stdout.reconfigure(line_buffering=True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user