Skip to content

Commit

Permalink
fix(tortoise): do not set device, which is handled in BaseTrainerModel
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
eginhard committed Jan 16, 2025
1 parent ce9f1bf commit 008912c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion TTS/tts/models/tortoise.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,6 @@ def __init__(self, config: Coqpit):
else self.args.autoregressive_batch_size
)
self.enable_redaction = self.args.enable_redaction
self.device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
if self.enable_redaction:
self.aligner = Wav2VecAlignment()

Expand Down

0 comments on commit 008912c

Please sign in to comment.