Skip to content

Commit 4d76577

Browse files
authored
fix args (#996)
1 parent 20bc628 commit 4d76577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/llm/utils/argument.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ def __post_init__(self):
12851285
self.merge_device_map = 'cpu' if self.quant_bits != 0 else 'auto'
12861286
if self.quant_bits > 0 and self.dtype == 'AUTO':
12871287
self.dtype = 'fp16'
1288-
logger.info(f'Setting args.dtype: {args.dtype}')
1288+
logger.info(f'Setting args.dtype: {self.dtype}')
12891289
super().__post_init__()
12901290
if len(self.dataset) == 0 and self.quant_bits > 0:
12911291
self.dataset = ['alpaca-zh#10000', 'alpaca-en#10000']

0 commit comments

Comments
 (0)