Skip to content

Commit

Permalink
fix api_start.py (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiworldwzj authored Dec 10, 2024
1 parent adccb9d commit 15237c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lightllm/server/api_start.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
logger = init_logger(__name__)

def set_env(args):
import os
if args.static_quant:
os.environ["STATIC_QUANT"] = "1"

Expand Down

0 comments on commit 15237c6

Please sign in to comment.