Skip to content

Commit

Permalink
Update moe_mlp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
StellaAthena authored Mar 28, 2024
1 parent c2cc9c4 commit c7bfed0
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion megatron/model/moe_mlp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
# TODO: add neox and megablocks copyright notices
# Copyright (c) 2024, EleutherAI
# This file is based on code by the authors denoted below and has been modified from its original version.
#
# Copyright (c) 2023 MegaBlocks authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import torch
from megatron.model.activations import get_activation
Expand Down

0 comments on commit c7bfed0

Please sign in to comment.