mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2025-09-09 13:55:27 +00:00
update FAQ
This commit is contained in:
parent
0564ac8465
commit
3897f001f5
3 changed files with 55 additions and 7 deletions
|
@ -1699,7 +1699,7 @@ class DeepseekV3ForCausalLM(DeepseekV3PreTrainedModel):
|
|||
)
|
||||
|
||||
hidden_states = outputs[0]
|
||||
logits = self.lm_head(hidden_states)
|
||||
logits = self.lm_head(hidden_states.to(self.lm_head.weight.device))
|
||||
logits = logits.float()
|
||||
|
||||
loss = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue