Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Suchin Gururangan committed Dec 15, 2023
1 parent 24cbb9b commit ec8cd0f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions open_lm/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
from open_lm.positional_embedding.llama_rotary import LLaMARotaryWithCast

# from open_lm.moe.mixture_of_experts import MoE
from megablocks.layers.moe import MoE
from megablocks.layers.arguments import Arguments as MoEArgs
try:
from megablocks.layers.moe import MoE
from megablocks.layers.arguments import Arguments as MoEArgs
except ImportError:
pass


try: # optional import
Expand Down

0 comments on commit ec8cd0f

Please sign in to comment.