Issue after creating npc
view size is not compatible with input tensor's size and stride:
1583 semantic_output = self.semantic.generate(
1584 input_ids,
1585 history_prompt=history_prompt,
1586 semantic_generation_config=semantic_generation_config,
1587 **kwargs_semantic,
1588 )
1590 # 2. Generate from the coarse model
-> 1591 coarse_output = self.coarse_acoustics.generate(
1592 semantic_output,
...
--> 865 x_coarse_history = torch.transpose(x_coarse_history, 0, 1).view(-1)
867 x_coarse_history = x_coarse_history + semantic_generation_config.semantic_vocab_size
869 x_coarse_history = torch.repeat_interleave(x_coarse_history[None], batch_size, dim=0)
c = "/Users/I575797/Documents/projects/misc/LLM/kejri_samples/kejriwal.npz"
b = np.load(c)
b["semantic_prompt"].shape, b["coarse_prompt"].shape, b["fine_prompt"].shape
output: ((749,), (2, 1125), (8, 1125))