commaai / commaai/openpilot

chestnut: model fails to load with remote start

Open
#38,685 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
63.7k
Forks
11.4k
Avg merge
17h 53m
Merged PRs (30d)
171

Description

### Describe the bug

When using remote start on a Hyundai Sonata, the cigarette lighter power outlet remains off. As a result, the gpu doesn't receive power, causing the model loading process to time out and fail.

> [!IMPORTANT]
> will reproduce using stock model soon
```
Traceback (most recent call last):
File "/data/openpilot/openpilot/sunnypilot/modeld_v2/modeld.py", line 557, in
main(demo=args.demo)
File "/data/openpilot/openpilot/sunnypilot/modeld_v2/modeld.py", line 375, in main
raise RuntimeError("eGPU model load failed or timed out (60s)")
RuntimeError: eGPU model load failed or timed out (60s)
```

### Provide a route where the issue occurs

d59ca223dca8da93

### openpilot version

master

Contributor guide

Open the contributing guide

Research direction

Start with sunnypilot/modeld_v2/modeld.py, especially main() and the eGPU model-load timeout shown in the traceback. Reproduce remote start on a Hyundai Sonata using route d59ca223dca8da93 and the stock model when available; done means the GPU receives power and the model loads without the 60-second timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.