mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-03 11:09:55 +08:00
Preserve Model Runtime
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import functools, json, os, time
|
||||
from collections.abc import Callable
|
||||
|
||||
ENABLED = os.environ.get("STARPILOT_GPU_STARTUP_TRACE") == "1"
|
||||
REPORT: Callable[[dict], None] | None = None
|
||||
REPORT = None
|
||||
|
||||
def report(packet):
|
||||
if REPORT is not None: REPORT(packet)
|
||||
|
||||
Reference in New Issue
Block a user