Skip to content

Add get_input_embeddings method to nemo_automodel.components.models.gpt_oss.model.GptOssForCausalLM #1241

@torsli

Description

@torsli

Describe the bug

Unlike other component models, GptOssForCausalLM does not have the get_input_embeddings() method and related methods.

Steps/Code to reproduce bug

Call model.get_input_embeddings() on an instance of GptOssForCausalLM.

Expected behavior

Method should exist.

Additional context

I use this method in benchmarking scripts. I can write a workaround in the short term but it would be better to have this for all special models here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions