Skip to content

Commit

Permalink
Mock
Browse files Browse the repository at this point in the history
  • Loading branch information
tgaddair committed Mar 13, 2024
1 parent 16ea686 commit da8839f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/tests/utils/test_lora.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import List
from unittest import mock
import pytest

import torch
Expand All @@ -8,6 +9,7 @@
from lorax_server.utils.sgmv import MIN_RANK_CUSTOM


@mock.patch("lorax_server.utils.lora.get_tmp_tensors", return_value=(torch.empty(0), torch.empty(0)))
@pytest.mark.parametrize("lora_ranks", [
[8, 16],
[32, 64],
Expand Down

0 comments on commit da8839f

Please sign in to comment.