Skip to content

Commit

Permalink
refactor: remove prestartup_script.py (#89)
Browse files Browse the repository at this point in the history
move code to __init__.py

prestartup script should be kept as lightweight as possible, minimizing imports to the maximum extent.
It should be avoided whenever possible.
  • Loading branch information
ltdrdata authored Jun 24, 2024
1 parent 5b64cc9 commit f70603e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
3 changes: 3 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@

import os
import sys
from .py.inc.lib.llm import MS_Llm

MS_Llm.prestartup_script()

python = sys.executable
p310_plus = (sys.version_info >= (3, 10))
Expand Down
14 changes: 0 additions & 14 deletions prestartup_script.py

This file was deleted.

0 comments on commit f70603e

Please sign in to comment.