Skip to content

Commit

Permalink
Updated configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementRomac committed Nov 21, 2023
1 parent e215497 commit 7d92065
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/configs/local_cpu_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ lamorel_args:
pretrained: true
minibatch_size: 192
pre_encode_inputs: true
load_in_4bit: false
parallelism:
use_gpu: true
use_gpu: false
model_parallelism_size: 1
synchronize_gpus_after_scoring: false
empty_cuda_cache_after_scoring: false
Expand Down
3 changes: 2 additions & 1 deletion examples/configs/local_gpu_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ lamorel_args:
accelerate_args:
config_file: accelerate/default_config.yaml
machine_rank: 0
num_machines: 2
num_machines: 1
llm_args:
model_type: seq2seq
model_path: t5-small
pretrained: true
minibatch_size: 192
pre_encode_inputs: true
load_in_4bit: false
parallelism:
use_gpu: true
model_parallelism_size: 1
Expand Down

0 comments on commit 7d92065

Please sign in to comment.