Skip to content

Commit

Permalink
Rename optimizer buck target to be more specific (#4509)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #4509

We might add more later so start with specifying the name

Reviewed By: lucylq

Differential Revision: D60611366

fbshipit-source-id: 730d7b8be5b544e6ed4a8ad7a2aa7bb7b71ce45f
  • Loading branch information
JacobSzwejbka authored and facebook-github-bot committed Aug 1, 2024
1 parent c329d6a commit d59419c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extension/training/optimizer/targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def define_common_targets():
]

runtime.cxx_library(
name = "optimizer" + aten_suffix,
name = "sgd" + aten_suffix,
srcs = [
"sgd.cpp",
],
Expand Down
2 changes: 1 addition & 1 deletion extension/training/optimizer/test/targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def define_common_targets():
"sgd_test.cpp",
],
deps = [
"//executorch/extension/training/optimizer:optimizer" + aten_suffix,
"//executorch/extension/training/optimizer:sgd" + aten_suffix,
"//executorch/runtime/core:core",
"//executorch/runtime/core/exec_aten/testing_util:tensor_util",
],
Expand Down

0 comments on commit d59419c

Please sign in to comment.