mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-15 13:10:55 +08:00
[Intel HPU] Support intel hpu platform (#4161)
* [Intel HPU] Support intel hpu platform * fix some issues * apply precommit and move AttentionBackend_HPU * fix format issue * correct ops import * fix ci issue * update code in layers * fix code style issue * remove dense tp moe ep mode * fix enc_dec_block_num * fix rebase issue * rename hpu to gaudi in readme * rename ForwardMeta_HPU to HPUForwardMeta
This commit is contained in:
@@ -55,3 +55,10 @@ if current_platform.is_maca():
|
||||
if hasattr(metax, "__all__"):
|
||||
globals().update({name: getattr(metax, name) for name in metax.__all__})
|
||||
__all__.extend(metax.__all__)
|
||||
|
||||
if current_platform.is_intel_hpu():
|
||||
from . import intel_hpu
|
||||
|
||||
if hasattr(intel_hpu, "__all__"):
|
||||
globals().update({name: getattr(intel_hpu, name) for name in intel_hpu.__all__})
|
||||
__all__.extend(intel_hpu.__all__)
|
||||
|
Reference in New Issue
Block a user