

docs: mention quantization example for env variable
@91a19d13ccc455dd0afb4215f6ffb755f02de8dc
--- src/faster_whisper_server/config.py
+++ src/faster_whisper_server/config.py
... | ... | @@ -170,7 +170,7 @@ |
170 | 170 |
|
171 | 171 |
Pydantic will automatically handle mapping uppercased environment variables to the corresponding fields. |
172 | 172 |
To populate nested, the environment should be prefixed with the nested field name and an underscore. For example, |
173 |
- the environment variable `LOG_LEVEL` will be mapped to `log_level`, `WHISPER__MODEL`(note the double underscore) to `whisper.model`, etc. |
|
173 |
+ the environment variable `LOG_LEVEL` will be mapped to `log_level`, `WHISPER__MODEL`(note the double underscore) to `whisper.model`, to set quantization to int8, use `WHISPER__COMPUTE_TYPE=int8`, etc. |
|
174 | 174 |
""" # noqa: E501 |
175 | 175 |
|
176 | 176 |
model_config = SettingsConfigDict(env_nested_delimiter="__") |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?