mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-24 20:19:51 +01:00
remove megatron_util initlize twice
This commit is contained in:
@@ -20,7 +20,6 @@ def pre_compile_all():
|
||||
if torch.cuda.is_available(): # extension require cuda.
|
||||
# pre compile pai-easycv
|
||||
from easycv.thirdparty.deformable_attention.functions import ms_deform_attn_func
|
||||
pre_compile_megatron_util()
|
||||
# extension for all platform.
|
||||
pre_compile_megatron_util()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user