hf_text-generation-inference/Cargo.toml

24 lines
400 B
TOML
Raw Normal View History

2022-10-18 07:19:03 -06:00
[workspace]
members = [
"benchmark",
2022-10-18 07:19:03 -06:00
"router",
"router/client",
2023-02-13 05:02:45 -07:00
"router/grpc-metadata",
2022-10-18 07:19:03 -06:00
"launcher"
]
resolver = "2"
[workspace.package]
2024-03-29 12:17:24 -06:00
version = "1.4.5"
edition = "2021"
authors = ["Olivier Dehaene"]
homepage = "https://github.com/huggingface/text-generation-inference"
2022-10-18 07:19:03 -06:00
[profile.release]
debug = 1
incremental = true
chore(cargo-toml): apply lto fat and codegen-units of one (#1651) # What does this PR do? I have suggested similar changes over at https://github.com/huggingface/text-embeddings-inference/pull/201. Here being my additional question, why `debug` is enabled during release building? (hence I didn't add the flag to script things) Applying the following optimizations: - `lto` (link time optimizations) over all code (including dependencies) - Using a single `codegen-unit` to apply optimizations within 1 code unit at build time ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests), Pull Request section? - [ ] Was this discussed/approved via a Github issue or the [forum](https://discuss.huggingface.co/)? Please add a link to it if that's the case. - [ ] Did you make sure to update the documentation with your changes? Here are the [documentation guidelines](https://github.com/huggingface/transformers/tree/main/docs), and [here are tips on formatting docstrings](https://github.com/huggingface/transformers/tree/main/docs#writing-source-documentation). - [ ] Did you write any new necessary tests? ## Who can review? Anyone in the community is free to review the PR once the tests have passed. Feel free to tag members/contributors who may be interested in your PR. @OlivierDehaene OR @Narsil
2024-04-12 04:34:13 -06:00
lto = "fat"
opt-level = 3
codegen-units = 1
2022-11-14 05:59:56 -07:00
panic = "abort"