Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change mcli eval YAMLs to use mixed_precision: FULL #255

Merged
merged 3 commits into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mcli/mcli-1b-eval.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ parameters:
load_path: # Add your (optional) Composer checkpoint path here!

device_eval_batch_size: 16
precision: fp32

# FSDP config for model sharding
# fsdp_config:
# sharding_strategy: FULL_SHARD
# mixed_precision: PURE
# mixed_precision: FULL

icl_tasks:
-
Expand Down
3 changes: 2 additions & 1 deletion mcli/mcli-hf-eval.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ parameters:
seed: 1
max_seq_len: 1024
device_eval_batch_size: 8
precision: fp32

model_name_or_path: huggyllama/llama-7b
# model_name_or_path: EleutherAI/gpt-j-6b
Expand Down Expand Up @@ -52,6 +53,6 @@ parameters:
# FSDP config for model sharding
fsdp_config:
sharding_strategy: FULL_SHARD
mixed_precision: PURE
mixed_precision: FULL

icl_tasks: 'eval/yamls/tasks.yaml'