Start with tensor parallelism
TokenSpeed exposes familiar --tensor-parallel-size and --tp entry points plus additional split parallelism controls for attention, dense, and MoE layers.
Prerequisites
Identify the model ID or local path to replace <model>, and confirm that the server has the number of GPUs that you plan to assign to the tensor-parallel group.
Start the server
When the same tensor-parallel group is acceptable for the model, start the server with --tensor-parallel-size:
Replace
<model>with your model ID or local path, and then start an eight-way tensor-parallel deployment:bashtokenspeed serve <model> \ --tensor-parallel-size 8--tensor-parallel-sizemaps to TokenSpeed attention tensor parallelism, and you cannot combine it with--attn-tp-size.Validate the parallel deployment before sending benchmark traffic. Every rank must start and join the distributed group, and the API must respond.