mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-05 02:51:59 +00:00
Optimized MoE layer and fixed some bugs;
Decreased moe tests; Added FFNExperts and ViTMoE model
This commit is contained in:
4
setup.py
4
setup.py
@@ -162,6 +162,10 @@ if build_cuda_ext:
|
||||
['scaled_masked_softmax.cpp', 'scaled_masked_softmax_cuda.cu'],
|
||||
extra_cuda_flags + cc_flag))
|
||||
|
||||
ext_modules.append(cuda_ext_helper('colossal_moe_cuda',
|
||||
['moe_cuda.cpp', 'moe_cuda_kernel.cu'],
|
||||
extra_cuda_flags + cc_flag))
|
||||
|
||||
extra_cuda_flags = ['-maxrregcount=50']
|
||||
|
||||
ext_modules.append(cuda_ext_helper('colossal_layer_norm_cuda',
|
||||
|
Reference in New Issue
Block a user