Skip to content

Commit

Permalink
update some deault config value (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
faceair authored Dec 20, 2023
1 parent 744622d commit fa62856
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion fish_speech/configs/vqgan_finetune.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resume_weights_only: true
# Lightning Trainer
trainer:
accelerator: gpu
devices: 4
devices: auto
strategy: ddp_find_unused_parameters_true
precision: 32
max_steps: 100000
Expand Down
2 changes: 1 addition & 1 deletion fish_speech/configs/vqgan_pretrain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ project: vqgan
# Lightning Trainer
trainer:
accelerator: gpu
devices: 4
devices: auto
strategy: ddp_find_unused_parameters_true
precision: 32
max_steps: 1_000_000
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ dependencies = [
"tensorboard",
"grpcio>=1.58.0",
"kui>=1.6.0",
"zibai-server>=0.9.0"
"zibai-server>=0.9.0",
"loguru",
]

[build-system]
Expand Down
4 changes: 1 addition & 3 deletions tools/vqgan/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@
"--output-path", "-o", default="fake.wav", type=click.Path(path_type=Path)
)
@click.option("--config-name", "-cfg", default="vqgan_pretrain")
@click.option(
"--checkpoint-path", "-ckpt", default="checkpoints/vqgan/step_000380000_wo.ckpt"
)
@click.option("--checkpoint-path", "-ckpt", default="checkpoints/vqgan-v1.pth")
def main(input_path, output_path, config_name, checkpoint_path):
with initialize(version_base="1.3", config_path="../../fish_speech/configs"):
cfg = compose(config_name=config_name)
Expand Down

0 comments on commit fa62856

Please sign in to comment.