Skip to content

Commit

Permalink
[MiniCPM3] fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sgwzy22 committed Nov 28, 2024
1 parent e0e3039 commit 8b5b8b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion models/MiniCPM3/compile/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ process_block() {
for ((i=0; i<$num_layers; i++)); do
process_block $i &
models=${models}${outdir}'/block_'$i'.bmodel '$outdir'/block_cache_'$i'.bmodel '
sleep 45
done

sleep 45
wait # Wait for all background processes to finish

rm -f *.npz
Expand Down
4 changes: 2 additions & 2 deletions models/MiniCPM3/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
transformers_stream_generator
atamodel_code_generator
datamodel_code_generator
accelerate>=0.26.0
transformers>=4.41.0
sentencepiece
einops
tiktoken
tiktoken

0 comments on commit 8b5b8b4

Please sign in to comment.