File size: 2,733 Bytes
982dc5d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# WARNING: This is the base configuration file shared across ALL solvers in AudioCraft
# Please don't update this file directly. Instead use distinct configuration files
# to override the below configuration.
defaults:
  - _self_
  - dset: default
  - solver: default

device: cuda
dtype: float32
autocast: false
autocast_dtype: bfloat16
seed: 2036
show: false  # just show the model and its size and exit
continue_from:  # continue from a given sig or path
execute_only:  # can be set to generate/evaluate/valid to run that stage
execute_inplace: false # don't enforce continue_from to be set
                       # to enable inplace execution of the stage. This assume
                       # that you know what you are doing and execute stage
                       # preserving the original xp sig.
benchmark_no_load: false  # if set to true, will repeat the same batch instead of loading them

efficient_attention_backend: torch  # can be torch or xformers.
num_threads: 1                      # called with torch.set_num_thread.
mp_start_method: forkserver               # multiprocessing method (spawn, fork or fork_server).


label:  # use this if you want twice the same exp, with a name.

# logging parameters
logging:
  level: INFO
  log_updates: 10
  log_tensorboard: false
  log_wandb: false
tensorboard:
  with_media_logging: false
  name:  # optional name for the experiment
  sub_dir:  # optional sub directory to store tensorboard data
wandb:
  with_media_logging: true
  project:  # project name
  name:  # optional name for the experiment
  group:  # optional group

# SLURM launcher configuration.
slurm:
  gpus: 4  # convenience parameter, number of GPUs to use.
  mem_per_gpu: 40  # in GB, total mem is automatically scaled with `gpus`.
  time: 3600
  constraint:
  partition:
  comment:
  setup: []
  exclude: ''

# dora parameters
dora:
  # Output folder for all artifacts of an experiment.
  dir: /checkpoint/${oc.env:USER}/experiments/audiocraft/outputs
  # The following entries will be ignored by dora when computing the unique XP signature.
  # Note that slurm.* and dora.* are automatically ignored.
  exclude: [
    'device', 'wandb.*', 'tensorboard.*', 'logging.*',
    'dataset.num_workers', 'eval.num_workers', 'special.*',
    'metrics.visqol.bin', 'metrics.fad.bin',
    'execute_only', 'execute_best', 'generate.every',
    'optim.eager_sync', 'profiler.*', 'deadlock.*',
    'efficient_attention_backend', 'num_threads', 'mp_start_method',
  ]
  use_rendezvous: false
  # for grids, always run from a clean repo, allowing reliable runs and storing
  # the exact commit. Your repo must be absolutely pristine clean.
  # Local `dora run` are not impacted for easier debugging.
  git_save: true