Coverage for  / home / jenkins / .local / lib / python3.10 / site-packages / hyper_parallel / core / multicore / modules / moe_ffn / common / runtime_structs.py: 0%

2 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-05-20 07:18 +0800

1# Copyright 2026 Huawei Technologies Co., Ltd 

2# 

3# Licensed under the Apache License, Version 2.0 (the "License"); 

4# you may not use this file except in compliance with the License. 

5# You may obtain a copy of the License at 

6# 

7# http://www.apache.org/licenses/LICENSE-2.0 

8# 

9# Unless required by applicable law or agreed to in writing, software 

10# distributed under the License is distributed on an "AS IS" BASIS, 

11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 

12# See the License for the specific language governing permissions and 

13# limitations under the License. 

14# ============================================================================ 

15""" 

16Backwards-compatibility shim — canonical source moved to models.common. 

17All symbols are re-exported from hyper_parallel.core.multicore.modules.common.runtime_structs. 

18""" 

19from hyper_parallel.core.multicore.modules.common.runtime_structs import ( # noqa: F401 

20 MAX_TENSOR_DIMS, MAX_INPUTS_PER_TASK, MAX_OUTPUTS_PER_TASK, 

21 MAX_TASK_NUM, MAX_EVENT_NUM, NUM_WORKERS_VECTOR, NUM_WORKERS_CUBE, 

22 QUEUE_CAPACITY, TASK_TYPE_INDEX_NUM, MAX_GROUP_LIST, ATOMIC_ADD_VALUE_LEN, 

23 TaskAiCoreType, TaskType, EventType, DynamicType, 

24 TensorDescC, TaskDescC, EventDescC, DynamicDataC, 

25 RuntimeConfigC, TilingDataC, SwiGluTilingDataC, 

26) 

27 

28__all__ = [ 

29 "MAX_TENSOR_DIMS", "MAX_INPUTS_PER_TASK", "MAX_OUTPUTS_PER_TASK", 

30 "MAX_TASK_NUM", "MAX_EVENT_NUM", "NUM_WORKERS_VECTOR", "NUM_WORKERS_CUBE", 

31 "QUEUE_CAPACITY", "TASK_TYPE_INDEX_NUM", "MAX_GROUP_LIST", "ATOMIC_ADD_VALUE_LEN", 

32 "TaskAiCoreType", "TaskType", "EventType", "DynamicType", 

33 "TensorDescC", "TaskDescC", "EventDescC", "DynamicDataC", 

34 "RuntimeConfigC", "TilingDataC", "SwiGluTilingDataC", 

35]