Skip to content

Commit

Permalink
Include use_fused_mlp when constructing BuildConfig from dict
Browse files Browse the repository at this point in the history
  • Loading branch information
ethnzhng committed Sep 18, 2024
1 parent a65dba7 commit 37181ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tensorrt_llm/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ def from_dict(cls, config, plugin_config=None):
config.get('auto_parallel_config', {}))
max_encoder_input_len = config.pop('max_encoder_input_len', 1024)
weight_streaming = config.pop('weight_streaming', False)

use_fused_mlp = config.pop('use_fused_mlp', False)
use_strip_plan = config.pop('use_strip_plan', False)

if plugin_config is None:
Expand Down Expand Up @@ -623,6 +623,7 @@ def from_dict(cls, config, plugin_config=None):
max_encoder_input_len=max_encoder_input_len,
weight_sparsity=weight_sparsity,
weight_streaming=weight_streaming,
use_fused_mlp=use_fused_mlp,
plugin_config=plugin_config,
dry_run=dry_run,
visualize_network=visualize_network)
Expand Down

0 comments on commit 37181ec

Please sign in to comment.