Skip to content

Commit

Permalink
fix some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Wrench-Git committed Nov 6, 2024
1 parent a0ad15b commit 10fa4ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deeplink_ext/ops/rms_norm/internevo_rms_norm.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
if platform_type == PlatformType.TORCH_DIPU:
# from ._mixed_rms_norm_dipu import MixedFusedRMSNorm
# Due to the accuracy problem of the npu fused operator, a torch combination is used as an alternative.
from .interntrain_rms_norm_fallback import MixedRMSNormTorch as MixedFusedRMSNorm
from .internevo_rms_norm_fallback import MixedRMSNormTorch as MixedFusedRMSNorm
else:
raise ImportError

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

platform_type = deeplink_ext_get_platform_type()
if platform_type == PlatformType.TORCH_DIPU:
from ._rotary_embedding_dipu import ApplyRotaryEmb, ApplyRotaryEmbQKV_
from .interntrain_rotary_embedding_dipu import ApplyRotaryEmb, ApplyRotaryEmbQKV_
else:
raise ImportError

Expand Down

0 comments on commit 10fa4ba

Please sign in to comment.