mirror of
https://github.com/deepseek-ai/DeepInfer.git
synced 2026-10-29 23:37:28 +08:00
csrc/engine/scheduler.hpp and deepinfer/engine/engine_type.py define EngineType twice, kept in sync only by a comment convention (the C++ side is not exposed through pybind). Parse the header and assert both definitions match, so drift fails fast in CI instead of a Python enum value silently meaning a different engine type to the C++ scheduler. |
||
|---|---|---|
| .. | ||
| distributed | ||
| engine | ||
| models | ||
| ve | ||
| worker | ||
| __init__.py | ||
| conftest.py | ||
| test_cuda_sync_guards.py | ||