[Qwen] Remove cuda hard-code in qwen3 next (#25243)
Signed-off-by: Icey <1790571317@qq.com>
This commit is contained in:
@@ -306,7 +306,7 @@ class Qwen3NextGatedDeltaNet(nn.Module, MambaBase):
|
||||
eps=self.layer_norm_epsilon,
|
||||
group_size=None,
|
||||
norm_before_gate=True,
|
||||
device=torch.cuda.current_device(),
|
||||
device=current_platform.current_device(),
|
||||
dtype=config.torch_dtype,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user