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. |
||
|---|---|---|
| .. | ||
| test_engine_type_consistency.py | ||
| test_flops_estimator.py | ||
| test_mm_overwrite_prompt.py | ||
| test_sequence.py | ||