mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-25 04:30:48 +01:00
[to #50841229]feat: precompile pai-easycv in image
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/13225347 * [to #50841229]feat: precompile pai-easycv in image
This commit is contained in:
@@ -20,6 +20,8 @@ def pre_compile_all():
|
||||
if torch.cuda.is_available(): # extension require cuda.
|
||||
pre_compile_megatron_util()
|
||||
|
||||
# pre compile pai-easycv
|
||||
from easycv.thirdparty.deformable_attention.functions import ms_deform_attn_func
|
||||
# extension for all platform.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user