Skip to content

Commit 4983e02

Browse files
authored
[Distributed] Fix wgrad bug in Sparse Operation Kit. (#918)
Use new_git_repository to manage sok dependency,update sok for fixing localized mode wgrad bug. Signed-off-by: aleliu <[email protected]>
1 parent 4191627 commit 4983e02

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

tensorflow/tools/pip_package/build_sok.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ export MAKEFLAGS=-j$(nproc)
1616
export SOK_COMPILE_GPU_SM="70;75;80"
1717
cd ./bazel-DeepRec/external/hugectr/sparse_operation_kit
1818

19-
"${PYTHON_BIN_PATH:-python}" setup.py bdist_wheel
20-
pip install ./dist/merlin_sok-1.2.0-cp38-cp38-linux_x86_64.whl
19+
"${PYTHON_BIN_PATH:-python}" setup.py install

tensorflow/workspace.bzl

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,13 +1369,12 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
13691369
],
13701370
)
13711371

1372-
http_archive(
1372+
new_git_repository(
13731373
name = "hugectr", # Apache License 2.0
1374-
build_file = "//third_party:hugectr.BUILD",
1375-
strip_prefix = "HugeCTR-23.06.00",
1376-
urls = [
1377-
"https://github.com/NVIDIA-Merlin/HugeCTR/archive/refs/tags/v23.06.00.tar.gz",
1378-
],
1374+
build_file = "//third_party:hugectr.BUILD",
1375+
commit = "869028c1c32bdcda2f18efc88d54f0527ed28d6d",
1376+
init_submodules = True,
1377+
remote = "https://github.com/NVIDIA-Merlin/HugeCTR.git",
13791378
)
13801379

13811380
def tf_bind():

0 commit comments

Comments
 (0)