This repository has been archived by the owner on Mar 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce memory usage for large models (#61)
Signed-off-by: Hung-Han (Henry) Chen <[email protected]>
- Loading branch information
1 parent
75b4edb
commit a0ee699
Showing
9 changed files
with
242 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
apiVersion: v2 | ||
appVersion: 0.10.3 | ||
appVersion: 0.10.4 | ||
description: A Helm chart for ialacol | ||
name: ialacol | ||
type: application | ||
version: 0.10.3 | ||
version: 0.10.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import logging | ||
|
||
from get_env import get_env | ||
|
||
|
||
LOGGING_LEVEL = get_env("LOGGING_LEVEL", "INFO") | ||
|
||
log = logging.getLogger("uvicorn") | ||
try: | ||
log.setLevel(LOGGING_LEVEL) | ||
except ValueError: | ||
log.setLevel("INFO") |
Oops, something went wrong.