mirror of
https://github.com/deepseek-ai/DeepInfer.git
synced 2026-10-31 00:36:20 +08:00
A negative seq_seed was silently masked to a huge positive value by seed & 0xFFFF_FFFF_FFFF_FFFF, so the seq_seed < 0 check in _verify_args could never trigger. Validate the seed before masking, and give the bare TypeError a message. Positive-seed masking behavior is unchanged. Add unit tests for seq_seed handling in tests/engine/test_sampling_params.py. |
||
|---|---|---|
| .. | ||
| distributed | ||
| engine | ||
| models | ||
| ve | ||
| worker | ||
| __init__.py | ||
| conftest.py | ||
| test_cuda_sync_guards.py | ||