Skip to content

Commit

Permalink
update branch in mcli yamls
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg committed Sep 26, 2023
1 parent 4b4ae7a commit 779d8af
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 deletions.
6 changes: 3 additions & 3 deletions mcli/mcli-1b-eval.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
integrations:
- integration_type: git_repo
git_repo: mosaicml/llm-foundry
# git_branch: # Specify your git branch
git_commit: 186dd19888a8c8874584f9e78619f3fb0348309f # TODO: repin after next release
git_branch: v0.3.0
# git_commit: # OR use your commit hash
pip_install: -e .[gpu]
ssh_clone: false # Should be true if using a private repo

Expand Down Expand Up @@ -33,7 +33,7 @@ parameters:
model_max_length: ${max_seq_len}
model:
name: mpt_causal_lm
init_device: meta
init_device: mixed
d_model: 2048
n_heads: 16 # Modified 24->16 so that d_head == 128 to satisfy FlashAttention
n_layers: 24
Expand Down
2 changes: 1 addition & 1 deletion mcli/mcli-1b-max-seq-len-8k.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
integrations:
- integration_type: git_repo
git_repo: mosaicml/llm-foundry
git_branch: v0.2.0
git_branch: v0.3.0
# git_commit: # OR use your commit hash
pip_install: -e .[gpu]
ssh_clone: false # Should be true if using a private repo
Expand Down
2 changes: 1 addition & 1 deletion mcli/mcli-1b.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
integrations:
- integration_type: git_repo
git_repo: mosaicml/llm-foundry
git_branch: v0.2.0
git_branch: v0.3.0
# git_commit: # OR use your commit hash
pip_install: -e .[gpu]
ssh_clone: false # Should be true if using a private repo
Expand Down
3 changes: 2 additions & 1 deletion mcli/mcli-benchmark-mpt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ image: mosaicml/pytorch:1.13.1_cu117-python3.10-ubuntu20.04
integrations:
- integration_type: git_repo
git_repo: mosaicml/llm-foundry
git_branch: v0.2.0
git_branch: v0.3.0
# git_commit: # OR use your commit hash
pip_install: '.[gpu]'

command: |
Expand Down
8 changes: 4 additions & 4 deletions mcli/mcli-convert-composer-to-hf.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
integrations:
- integration_type: git_repo
git_repo: mosaicml/llm-foundry
git_branch: v0.2.0
git_branch: v0.3.0
# git_commit: # OR use your commit hash
pip_install: -e .
ssh_clone: false # Should be true if using a private repo

command: |
cd llm-foundry/llmfoundry/inference
cd llm-foundry/scripts/inference
python convert_composer_to_hf.py \
--composer_path s3://bucket/folder/checkpoint-path.pt \
--hf_output_path s3://bucket/folder/hf/ \
--composer_path s3://mosaicml-internal-checkpoints-shared/daniel/i5-adamw-5e-7-09-099-00-005dur-00-cos-1e-6-64/checkpoints/ep3-ba2781-rank0.pt \

Check failure on line 12 in mcli/mcli-convert-composer-to-hf.yaml

View workflow job for this annotation

GitHub Actions / code-quality (3.9, [dev])

12:121 [line-length] line too long (148 > 120 characters)
--hf_output_path s3://mosaicml-internal-checkpoints-shared/daniel/hf-convert-030-test \
--output_precision bf16 \
image: mosaicml/pytorch:1.13.1_cu117-python3.10-ubuntu20.04
Expand Down
4 changes: 2 additions & 2 deletions mcli/mcli-hf-eval.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
integrations:
- integration_type: git_repo
git_repo: mosaicml/llm-foundry
git_branch: v0.2.0
git_branch: v0.3.0
# git_commit: # OR use your commit hash
pip_install: -e ".[gpu]"
ssh_clone: false # Should be true if using a private repo
Expand All @@ -11,7 +11,7 @@ command: |
composer eval/eval.py /mnt/config/parameters.yaml
# Mosaic Cloud will use run_name (with a unique suffix) to populate the env var $RUN_NAME
run_name: all-eval
run_name: mpt-eval
gpu_num: 8
# gpu_type:
# cluster: # replace with your cluster here!
Expand Down
2 changes: 1 addition & 1 deletion mcli/mcli-hf-generate.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
integrations:
- integration_type: git_repo
git_repo: mosaicml/llm-foundry
git_branch: v0.2.0
git_branch: v0.3.0
# git_commit: # OR use your commit hash
pip_install: -e .[gpu]
ssh_clone: false # Should be true if using a private repo
Expand Down
2 changes: 1 addition & 1 deletion mcli/mcli-llama2-finetune.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
integrations:
- integration_type: git_repo
git_repo: mosaicml/llm-foundry
git_commit: 5ec4016b40652557d57a1d4949ad13a65251184b # TODO: repin this after next release
git_branch: v0.3.0
pip_install: -e .[gpu]
ssh_clone: false # Should be true if using a private repo

Expand Down

0 comments on commit 779d8af

Please sign in to comment.