Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: HuiyingLi <[email protected]>
  • Loading branch information
HuiyingLi committed Oct 23, 2024
1 parent 795e7d6 commit 903e64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemo/collections/llm/inference/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def setup_model_and_tokenizer(
inference_wrapped_model = GPTInferenceWrapper(
mcore_model,
InferenceWrapperConfig(
hidden_size=model.config.hidden_size,
hidden_size=mcore_model.config.hidden_size,
params_dtype=params_dtype,
inference_batch_times_seqlen_threshold=inference_batch_times_seqlen_threshold,
padded_vocab_size=model.tokenizer.vocab_size,
Expand Down

0 comments on commit 903e64c

Please sign in to comment.