mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
fix: small typo adjustments
This commit is contained in:
parent
b4e7601fbe
commit
b1026a84cb
@ -90,7 +90,6 @@ class PositionRotaryEmbedding(nn.Module):
|
||||
if rope_type == "linear":
|
||||
pass
|
||||
elif rope_type == "longrope":
|
||||
# Phi3LongRoPEScaledRotaryEmbedding
|
||||
short_factor = torch.tensor(
|
||||
rope_scaling["short_factor"], dtype=torch.float32, device=device
|
||||
)
|
||||
|
@ -782,7 +782,7 @@ def get_model(
|
||||
quantize=quantize,
|
||||
speculator=speculator,
|
||||
dtype=dtype,
|
||||
trust_remote_code=True, # trust_remote_code,
|
||||
trust_remote_code=trust_remote_code,
|
||||
lora_adapter_ids=lora_adapter_ids,
|
||||
)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user