Skip to content

Commit 8d96d74

Browse files
authored
difftrain fix-up
Differential Revision: D69438940 Pull Request resolved: #8361
1 parent cfba192 commit 8d96d74

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

extension/flat_tensor/test/targets.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ def define_common_targets(is_fbcode=False):
3535
# The tests use this var to find the program file to load. This uses
3636
# an fbcode target path because the authoring/export tools
3737
# intentionally don't work in xplat (since they're host-only tools).
38-
"ET_MODULE_LINEAR_PROGRAM": "$(location fbcode//executorch/test/models:exported_programs_with_data_separated[ModuleLinear.pte])",
39-
"ET_MODULE_LINEAR_DATA": "$(location fbcode//executorch/test/models:exported_programs_with_data_separated[ModuleLinear.ptd])",
38+
"ET_MODULE_LINEAR_PROGRAM_PATH": "$(location fbcode//executorch/test/models:exported_programs_with_data_separated[ModuleLinear.pte])",
39+
"ET_MODULE_LINEAR_DATA_PATH": "$(location fbcode//executorch/test/models:exported_programs_with_data_separated[ModuleLinear.ptd])",
4040
}
4141

4242
runtime.cxx_test(

test/models/targets.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def define_common_targets():
9595
name = "exported_programs_with_data_separated",
9696
cmd = "$(exe :export_program) --modules ModuleLinear --external-constants --outdir $OUT",
9797
outs = {
98-
"ModuleLinear.pte": ["ModuleLinear.pte"],
98+
"ModuleLinear.pte": ["ModuleLinearProgram.pte"],
9999
"ModuleLinear.ptd": ["_default_external_constant.ptd"],
100100
},
101101
default_outs = ["."],

0 commit comments

Comments
 (0)