Skip to content

Commit cf23d5d

Browse files
sammarden-metafacebook-github-bot
authored andcommitted
Add htp sim to FORT eval and report
Differential Revision: D75488427
1 parent ceaf147 commit cf23d5d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runtime/core/portable_type/c10/c10/targets.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ def define_common_targets():
4444
deps = select({
4545
"DEFAULT": [],
4646
# Half-inl.h depends on vec_half.h from ATen, but only when building for x86.
47-
"ovr_config//cpu:x86_64": [
47+
# Deps get pulled in twice if HTP sim is enabled.
48+
"ovr_config//cpu:x86_64": [] if read_config("user", "enable_fllm_on_htp_sim", "false") == "true" else [
4849
":aten_headers_for_executorch",
4950
],
5051
}),

0 commit comments

Comments
 (0)