mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-11 02:33:51 +08:00
try maximum clocks
This commit is contained in:
@@ -99,7 +99,7 @@ def _should_publish_model_output(model_output, vipc_dropped_frames: int, externa
|
||||
MIN_LAT_CONTROL_SPEED = 0.3
|
||||
BIG_MODEL_LOAD_WAIT_TIMEOUT_MS = 30000
|
||||
BIG_MODEL_RUN_WAIT_TIMEOUT_MS = 3000
|
||||
EXTERNAL_GPU_TEST_POWER_LIMIT_W = 60
|
||||
EXTERNAL_GPU_TEST_POWER_LIMIT_W = 160
|
||||
EXTERNAL_GPU_POWER_READY_MV = 10000
|
||||
EXTERNAL_GPU_EGMP_READY_MV = 12500
|
||||
EXTERNAL_GPU_POWER_STABLE_SECONDS = 3.0
|
||||
|
||||
@@ -47,8 +47,8 @@ def test_external_gpu_test_power_limit(monkeypatch):
|
||||
getenv.cache_clear()
|
||||
modeld._set_external_gpu_power_limit(modeld.EXTERNAL_GPU_TEST_POWER_LIMIT_W)
|
||||
|
||||
assert os.environ["AM_POWER_LIMIT"] == "60"
|
||||
assert getenv("AM_POWER_LIMIT", 0.0) == 60.0
|
||||
assert os.environ["AM_POWER_LIMIT"] == "160"
|
||||
assert getenv("AM_POWER_LIMIT", 0.0) == 160.0
|
||||
|
||||
|
||||
def test_external_gpu_voltage_uses_hardware_specific_source():
|
||||
|
||||
Reference in New Issue
Block a user