From fc013cdb48e60144db67baa4b667b0937886f0af Mon Sep 17 00:00:00 2001 From: somehowchris Date: Mon, 18 Mar 2024 16:00:52 +0100 Subject: [PATCH] chore(cargo-toml): apply lto fat and codegen-units of one --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 820eb0aa..a5c0780b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,5 +17,7 @@ homepage = "https://github.com/huggingface/text-generation-inference" [profile.release] debug = 1 incremental = true -lto = "off" +lto = "fat" +opt-level = 3 +codegen-units = 1 panic = "abort"