From c447805fc2bc4042addafb4d1116339cc2e8a1e9 Mon Sep 17 00:00:00 2001 From: Philipp Emanuel Weidmann Date: Tue, 23 Sep 2025 13:31:41 +0530 Subject: [PATCH] Improve default dtype configuration --- config.default.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config.default.toml b/config.default.toml index 5becae6..d7a8aed 100644 --- a/config.default.toml +++ b/config.default.toml @@ -1,4 +1,12 @@ -dtypes = ["float32", "float16", "bfloat16"] +dtypes = [ + # In practice, "auto" almost always means bfloat16. + "auto", + # If that doesn't work (e.g. on pre-Ampere hardware), fall back to float16. + "float16", + # If that still doesn't work (e.g. due to https://github.com/meta-llama/llama/issues/380), + # fall back to float32. + "float32", +] device_map = "auto"