mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-13 22:18:36 +08:00
[None][fix] Properly raise error for nemotron H models (#8697)
Signed-off-by: William Zhang <133824995+2ez4bz@users.noreply.github.com>
This commit is contained in:
parent
5a01f382c1
commit
cdc9e5e645
@ -161,7 +161,7 @@ class NemotronHLayer(DecoderLayer):
|
||||
elif layer_type == "*":
|
||||
self.mixer = TransformerLayer(model_config, layer_idx)
|
||||
else:
|
||||
ValueError(f"{layer_type} is not supported")
|
||||
raise ValueError(f"{layer_type} is not supported")
|
||||
|
||||
def forward(
|
||||
self,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user