diff --git a/Cargo.toml b/Cargo.toml index 77a30f55..a9e7f1c8 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"