shinmakoto commited on
Commit
2127efd
·
1 Parent(s): b506ac0
chatterbox/src/chatterbox/models/t3/t3.py CHANGED
@@ -254,13 +254,13 @@ class T3(nn.Module):
254
  # TODO? synchronize the expensive compile function
255
  # with self.compile_lock:
256
  if not self.compiled:
257
- alignment_stream_analyzer = AlignmentStreamAnalyzer(
258
- self.tfmr,
259
- None,
260
- text_tokens_slice=(len_cond, len_cond + text_tokens.size(-1)),
261
- alignment_layer_idx=9, # TODO: hparam or something?
262
- eos_idx=self.hp.stop_speech_token,
263
- )
264
  patched_model = T3HuggingfaceBackend(
265
  config=self.cfg,
266
  llama=self.tfmr,
 
254
  # TODO? synchronize the expensive compile function
255
  # with self.compile_lock:
256
  if not self.compiled:
257
+ # alignment_stream_analyzer = AlignmentStreamAnalyzer(
258
+ # self.tfmr,
259
+ # None,
260
+ # text_tokens_slice=(len_cond, len_cond + text_tokens.size(-1)),
261
+ # alignment_layer_idx=9, # TODO: hparam or something?
262
+ # eos_idx=self.hp.stop_speech_token,
263
+ # )
264
  patched_model = T3HuggingfaceBackend(
265
  config=self.cfg,
266
  llama=self.tfmr,