fix dash test runner
This commit is contained in:
@@ -15,7 +15,7 @@ import pytest
|
||||
from meshnet_node.model_backend import (
|
||||
InsufficientVRAMError,
|
||||
PartialModelLoadUnsupported,
|
||||
ShardCacheMiss,
|
||||
KVCacheMiss,
|
||||
TensorPayload,
|
||||
TorchModelShard,
|
||||
_call_layer,
|
||||
@@ -629,7 +629,7 @@ def test_shard_cache_decode_miss_is_explicit():
|
||||
torch = pytest.importorskip("torch")
|
||||
shard = _fake_cache_shard(torch)
|
||||
|
||||
with pytest.raises(ShardCacheMiss):
|
||||
with pytest.raises(KVCacheMiss):
|
||||
shard._run_layers(
|
||||
torch.zeros((1, 1, 2), dtype=torch.bfloat16),
|
||||
torch.ones((1, 5), dtype=torch.long),
|
||||
|
||||
Reference in New Issue
Block a user