Skip to content

Commit

Permalink
Revert "add the gate function of softmoe"
Browse files Browse the repository at this point in the history
This reverts commit c71a7f9.
  • Loading branch information
Spico197 committed Oct 7, 2023
1 parent c71a7f9 commit f8a56b4
Show file tree
Hide file tree
Showing 14 changed files with 50,011 additions and 755 deletions.
1 change: 1 addition & 0 deletions models/124M/encoder.json

Large diffs are not rendered by default.

50,001 changes: 50,001 additions & 0 deletions models/124M/vocab.bpe

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ coverage==7.2.7
datasets==2.14.1
debugpy==1.6.7
deepspeed==0.10.0
einops==0.6.1
flake8==6.0.0
huggingface-hub==0.16.4
isort==5.12.0
Expand Down
16 changes: 0 additions & 16 deletions scripts/examples/create_soft_llama_moe.sh

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/examples/create_switch_llama_moe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ model_type=LlamaMoEForCausalLM # LlamaMoEModel LlamaMoEForCausalLM LlamaMoEFo

tokenizer_path=/mnt/petrelfs/share_data/quxiaoye/models/${base_model}/

gpus=1
gpus=0
cpus=16
OMP_NUM_THREADS=8 srun --partition=MoE --job-name=test --mpi=pmi2 --gres=gpu:${gpus} -n1 --ntasks-per-node=1 -c ${cpus} --job-name=example --kill-on-bad-exit=1 \
python -m smoe.entrypoint.examples.create_switch_llama_moe \
Expand Down
58 changes: 0 additions & 58 deletions scripts/moefication/run_select.py

This file was deleted.

106 changes: 0 additions & 106 deletions smoe/entrypoint/examples/create_soft_llama_moe.py

This file was deleted.

Loading

0 comments on commit f8a56b4

Please sign in to comment.