Skip to content

Commit

Permalink
[Misc]: Typo fix: Renaming classes (casualLM -> causalLM) (vllm-proje…
Browse files Browse the repository at this point in the history
…ct#9801)

Signed-off-by: Yannick Schnider <[email protected]>
  • Loading branch information
yannicks1 authored and hissu-hyvarinen committed Nov 6, 2024
1 parent 698f322 commit b1e6880
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions vllm/model_executor/model_loader/neuron.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}


class NeuronCasualLM(nn.Module):
class NeuronCausalLM(nn.Module):

def __init__(self,
config: PretrainedConfig,
Expand Down Expand Up @@ -184,7 +184,7 @@ def get_neuron_model(model_config: ModelConfig,
scheduler_config: SchedulerConfig) -> nn.Module:

# Create a model instance.
model = NeuronCasualLM(
model = NeuronCausalLM(
model_config.hf_config,
_is_neuron_on_device_sampling_disabled(model_config))

Expand Down
4 changes: 2 additions & 2 deletions vllm/model_executor/model_loader/openvino.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def _require_model_export(model_id, revision=None, subfolder=None):
return True


class OpenVINOCasualLM(nn.Module):
class OpenVINOCausalLM(nn.Module):

def __init__(
self,
Expand Down Expand Up @@ -199,5 +199,5 @@ def get_model(
"be added in the future. If this is important to you, "
"please open an issue on github.")

return OpenVINOCasualLM(ov_core, model_config, device_config,
return OpenVINOCausalLM(ov_core, model_config, device_config,
kv_cache_dtype)

0 comments on commit b1e6880

Please sign in to comment.