Skip to content

Commit 492b699

Browse files
committed
Remove MLP class.
1 parent f99fd7e commit 492b699

File tree

4 files changed

+3
-99
lines changed

4 files changed

+3
-99
lines changed

scattermoe/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# ScatterMoE
2+
13
This is the [ScatterMoE](https://arxiv.org/abs/2403.08245) written in Triton
24

35
The main repository for ScatterMoE is [here](https://github.com/shawntan/scattermoe)
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from .parallel_experts import flatten_sort_count, parallel_linear, ParallelExperts
22
from . import parallel_experts
33
from . import kernels
4-
from . import mlp
54
from . import layers
65

76
__all__ = [
@@ -10,6 +9,5 @@
109
"ParallelExperts",
1110
"parallel_experts",
1211
"kernels",
13-
"mlp",
1412
"layers"
1513
]

scattermoe/torch-ext/scattermoe/layers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ def forward(self, layer_input):
4848
gates=routing_weights
4949
)
5050
layer_output = layer_output.view(bsz, length, emb_size)
51-
return layer_output
51+
return layer_output, router_logits
5252

scattermoe/torch-ext/scattermoe/mlp.py

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)