mirror of
https://github.com/deepseek-ai/DeepInfer.git
synced 2026-10-28 23:07:09 +08:00
- fused_sample._host_flags: the top-p/top-k and greedy flags of the step's sampling parameters are read from the device once a step (a DSpark step samples the same tensors six times); reset_host_flags at each sample step. - NEURON_RT_INSPECT_* stays on the driver (64 ranks would overwrite one output directory). - VocabParallelEmbedding.ids_in_range: one F.embedding instead of the zero-filling gather (~5 eager NEFF launches). - bench33 (512 in, TP=64, nextn=5): TPOT 272.6 -> 268.2 ms. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| _C | ||
| distributed | ||
| engine | ||
| entrypoints | ||
| hugging_face | ||
| model_executor | ||
| neuron_ops | ||
| npu_ops | ||
| structure_output | ||
| ve | ||
| worker | ||
| __init__.py | ||
| attrdict.py | ||
| config.py | ||
| environ.py | ||
| load_class.py | ||
| logger.py | ||
| model_config_loader.py | ||
| multimodal_tokens.py | ||
| platform.py | ||
| py.typed | ||
| sampling_params.py | ||
| sequence.py | ||
| shared_memory.py | ||
| testing.py | ||
| timer.py | ||
| utils.py | ||