fix: small typo adjustments

This commit is contained in:
drbh 2024-09-03 17:36:47 +00:00 committed by Daniël de Kok
parent b4e7601fbe
commit b1026a84cb
2 changed files with 1 additions and 2 deletions

View File

@ -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
)

View File

@ -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: