Skip to content

Commit 87364df

Browse files
committed
finalise test
1 parent 27a409f commit 87364df

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

sharktank/tests/layers/conftest.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
def pytest_addoption(parser):
2+
"""Add command line option for IRPA file path."""
3+
parser.addoption(
4+
"--irpa-path",
5+
action="store",
6+
default=None,
7+
help="Path to the IRPA file for testing"
8+
)

sharktank/tests/layers/output_lm_test_with_iree.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@
88
from sharktank.utils import cli
99

1010

11-
def pytest_addoption(parser):
12-
"""Add command line option for IRPA file path."""
13-
parser.addoption(
14-
"--irpa-path",
15-
action="store",
16-
default=None,
17-
help="Path to the IRPA file for testing"
18-
)
19-
20-
2111
class OutputLMHead(torch.nn.Module):
2212
"""Standalone output_lm_head block extracted from PagedLlmModelV1"""
2313

0 commit comments

Comments
 (0)