We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed0fb30 commit 4697764Copy full SHA for 4697764
torchchat/cli/cli.py
@@ -533,7 +533,7 @@ def arg_init(args):
533
# Localized import to minimize expensive imports
534
from torchchat.utils.build_utils import get_device_str
535
536
- if args.device is None:
+ if args.device is None or args.device == "fast":
537
args.device = get_device_str(
538
args.quantize.get("executor", {}).get("accelerator", default_device)
539
)
0 commit comments