Update modeling_super_linear.py
Browse files- modeling_super_linear.py +1 -0
modeling_super_linear.py
CHANGED
|
@@ -347,6 +347,7 @@ class SparseNoisyMoE(nn.Module):
|
|
| 347 |
x_0 = x
|
| 348 |
|
| 349 |
self.gate_outputs = self.gating_network(x_0)
|
|
|
|
| 350 |
|
| 351 |
if not self.training:
|
| 352 |
self.gate_outputs = self.gate_outputs / self.moe_temp
|
|
|
|
| 347 |
x_0 = x
|
| 348 |
|
| 349 |
self.gate_outputs = self.gating_network(x_0)
|
| 350 |
+
print(self.gate_outputs.shape)
|
| 351 |
|
| 352 |
if not self.training:
|
| 353 |
self.gate_outputs = self.gate_outputs / self.moe_temp
|