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.
2 parents 52455bc + 6235d95 commit 9a15088Copy full SHA for 9a15088
examples/models/llama/tests/test_export_llama_lib.py
@@ -7,6 +7,7 @@
7
import unittest
8
9
from executorch.devtools.backend_debug import get_delegation_info
10
+from executorch.examples.models.llama.config.llm_config import LlmConfig
11
from executorch.examples.models.llama.export_llama_lib import (
12
_export_llama,
13
build_args_parser,
@@ -40,7 +41,8 @@ def test_has_expected_ops_and_op_counts(self):
40
41
args.use_kv_cache = True
42
args.verbose = True
43
- builder = _export_llama(args)
44
+ llm_config = LlmConfig.from_args(args)
45
+ builder = _export_llama(llm_config)
46
graph_module = builder.edge_manager.exported_program().graph_module
47
delegation_info = get_delegation_info(graph_module)
48
0 commit comments