File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
import os
2
2
from pathlib import Path
3
- from darkit .core .utils import DSPIKE_LLM_HOME
3
+ from darkit .core .utils import DARWIN_KIT_HOME
4
4
5
- PID_FILE = Path (os .path .expanduser (DSPIKE_LLM_HOME )) / ".server.pid"
5
+ PID_FILE = Path (os .path .expanduser (DARWIN_KIT_HOME )) / ".server.pid"
6
6
7
7
8
8
def save_pid (pid ):
Original file line number Diff line number Diff line change 11
11
__all__ = ["CSVLogger" ]
12
12
13
13
14
- DSPIKE_LLM_HOME = os .environ .get ("DSPIKE_LLM_HOME " , "~/.cache/DspikeLLM " )
15
- HOME_PATH = os .path .expanduser (DSPIKE_LLM_HOME )
14
+ DARWIN_KIT_HOME = os .environ .get ("DARWIN_KIT_HOME " , "~/.cache/darwinkit " )
15
+ HOME_PATH = os .path .expanduser (DARWIN_KIT_HOME )
16
16
MODEL_PATH = Path (HOME_PATH ) / "models"
17
17
DATASET_PATH = Path (HOME_PATH ) / "datasets"
18
18
Original file line number Diff line number Diff line change 3
3
import uvicorn
4
4
import multiprocessing
5
5
from pathlib import Path
6
- from ..utils import DSPIKE_LLM_HOME
6
+ from ..utils import DARWIN_KIT_HOME
7
7
8
- SERVER_LOG_PATH = Path (os .path .expanduser (DSPIKE_LLM_HOME )) / "server.log"
8
+ SERVER_LOG_PATH = Path (os .path .expanduser (DARWIN_KIT_HOME )) / "server.log"
9
9
10
10
11
11
def start_uvicorn_server (port : int , daemon : bool ):
You can’t perform that action at this time.
0 commit comments