Revert "[FEAT] Support GGUF format" (#2285)
This commit is contained in:
@@ -271,7 +271,7 @@ class GPTBigCodeForCausalLM(nn.Module):
|
||||
) -> torch.Tensor:
|
||||
hidden_states = self.transformer(input_ids, positions, forward_batch)
|
||||
return self.logits_processor(
|
||||
input_ids, hidden_states, self.lm_head, forward_batch
|
||||
input_ids, hidden_states, self.lm_head.weight, forward_batch
|
||||
)
|
||||
|
||||
def load_weights(self, weights: Iterable[Tuple[str, torch.Tensor]]):
|
||||
|
||||
Reference in New Issue
Block a user