Skip to content

Commit

Permalink
Merge pull request THUDM#31 from THUDM/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Stanislas0 authored Dec 9, 2022
2 parents 564ee2d + 41b48c2 commit afdee38
Show file tree
Hide file tree
Showing 9 changed files with 1,782 additions and 1 deletion.
2 changes: 1 addition & 1 deletion codegeex/megatron/tools/pretrain_codegeex.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def model_provider(pre_process=True, post_process=True):
mp_rank = mpu.get_tensor_model_parallel_rank()
if os.path.isdir(args.load_state):
model_path = os.path.join(
args.load_state, f"model_mp_rank_{mp_rank}.pt"
args.load_state, "mp_rank_{:02d}_model_states.pt".format(mp_rank)
)
else:
model_path = args.load_state
Expand Down
1 change: 1 addition & 0 deletions codegeex/paddle/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .codegeex_model import CodeGeeXModel
Loading

0 comments on commit afdee38

Please sign in to comment.