mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 04:15:01 +08:00
Fix Typo in Documentation and Function Name (#19442)
This commit is contained in:
parent
2d40665fe8
commit
7c644ab6d5
@ -99,7 +99,7 @@ class TestResources(NamedTuple):
|
|||||||
Attributes:
|
Attributes:
|
||||||
|
|
||||||
* scale: 1/sqrt(d) scale factor for attn
|
* scale: 1/sqrt(d) scale factor for attn
|
||||||
* attn_backend: implementatino of abstraction
|
* attn_backend: implementations of abstraction
|
||||||
attention interface using
|
attention interface using
|
||||||
a particular kernel library
|
a particular kernel library
|
||||||
i.e. XFormers
|
i.e. XFormers
|
||||||
|
|||||||
@ -28,7 +28,7 @@ def reset_default_device():
|
|||||||
torch.set_default_device(original_device)
|
torch.set_default_device(original_device)
|
||||||
|
|
||||||
|
|
||||||
def test_topk_impl_equivalance():
|
def test_topk_impl_equivalence():
|
||||||
|
|
||||||
torch.set_default_device(DEVICE)
|
torch.set_default_device(DEVICE)
|
||||||
generator = Generator(device=DEVICE).manual_seed(33)
|
generator = Generator(device=DEVICE).manual_seed(33)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user