Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions tensorrt_llm/_torch/custom_ops/torch_custom_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -1656,9 +1656,11 @@ def _(

class AllReduceRunner(TunableRunner):
tuning_config = TuningConfig(
dynamic_tensor_specs=(DynamicTensorSpec(
0, 0, get_last_power_of_2_num_tokens_buckets(8192),
last_positive_power_of_2), ),
dynamic_tensor_specs=(
# TODO: change to dynamic shape triggering
DynamicTensorSpec(0, 0,
get_last_power_of_2_num_tokens_buckets(8192),
last_positive_power_of_2), ),
constraint_specs=(ConstraintSpec(1, 0, lambda shapes: shapes[0][0]), ),
distributed_tuning_strategy=DistributedTuningStrategy.MERGE,
)
Expand Down
Loading