We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27a409f commit 87364dfCopy full SHA for 87364df
sharktank/tests/layers/conftest.py
@@ -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
@@ -8,16 +8,6 @@
from sharktank.utils import cli
9
10
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
21
class OutputLMHead(torch.nn.Module):
22
"""Standalone output_lm_head block extracted from PagedLlmModelV1"""
23
0 commit comments