Skip to content

Conversation

Anhforth
Copy link
Contributor

@Anhforth Anhforth commented Mar 2, 2023


name: Pull Request
title: '[PR]'
assignees: 'BAAI-OpenPlatform,ftgreat'


Description

Please describe here what the PR does.

Checklist

  • bug fixed
  • new feature provided
  • documentation updated
  • tests added

Anhforth and others added 19 commits February 17, 2023 14:57
Signed-off-by: Anhforth <[email protected]>
Signed-off-by: Anhforth <[email protected]>
Signed-off-by: Anhforth <[email protected]>
Signed-off-by: Anhforth <[email protected]>
Signed-off-by: Anhforth <[email protected]>
Signed-off-by: Anhforth <[email protected]>
Signed-off-by: ftgreat <[email protected]>
Signed-off-by: ftgreat <[email protected]>
Signed-off-by: ftgreat <[email protected]>
Signed-off-by: ftgreat <[email protected]>
Signed-off-by: ftgreat <[email protected]>
Signed-off-by: ftgreat <[email protected]>
Signed-off-by: ftgreat <[email protected]>
Signed-off-by: ftgreat <[email protected]>
Signed-off-by: ftgreat <[email protected]>
Signed-off-by: ftgreat <[email protected]>
Signed-off-by: ftgreat <[email protected]>
Signed-off-by: ftgreat <[email protected]>
ftgreat added 4 commits March 2, 2023 15:45
Signed-off-by: ftgreat <[email protected]>
Signed-off-by: ftgreat <[email protected]>
Signed-off-by: ftgreat <[email protected]>
self.drop = nn.Dropout(config.embd_pdrop)
self.project_in = None
self.project_out = None
# self.h = bminf.TransformerBlockList([
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rm

self.parallel_output = True

self.transformer = GPT2Stack(config_gpt)
# self.lm_head = bminf.QuantizedLinear(nn.Linear(config_gpt.n_embd,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rm

setup.py Outdated
setup(
name="flagai",
version="v1.6.0",
version="v1.6.2",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert


loader = AutoLoader(task_name="lm",
model_name="galactica-6.7b-en",
model_dir="/share/projset/baaishare/baai-mrnd/xingzhaohu/")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

./checkpoints

# single gpu
trainer = Trainer(
env_type="pytorchDDP",
env_type="deepspeed+mpu",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议恢复。 如果想新增 mpu 方式,可以单独文件。

num_gpus=2,
checkpoint_activations=False,
model_parallel_size=1,
model_parallel_size=2,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

=1

@ftgreat ftgreat merged commit c61d9ca into FlagAI-Open:master Mar 2, 2023
BAAI-OpenPlatform pushed a commit to FlagOpen/FlagAI that referenced this pull request Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants