Skip to content

Commit

Permalink
Remove updating submodule url
Browse files Browse the repository at this point in the history
  • Loading branch information
krishung5 committed Nov 1, 2023
1 parent e0fdd46 commit 86667fb
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1806,22 +1806,10 @@ def backend_build(
cmake_script.comment()
cmake_script.mkdir(build_dir)
cmake_script.cwd(build_dir)
cmake_script.gitclone(backend_repo(be), tag, be, github_organization)

if be == "tensorrtllm":
cmake_script.cmd(
"git clone --single-branch --depth=1 -b {} https://github.com/triton-inference-server/tensorrtllm_backend tensorrtllm".format(
tag
)
)
cmake_script.cmd("cd tensorrtllm")
cmake_script.cmd(
"git submodule set-url -- tensorrt_llm https://github.com/NVIDIA/TensorRT-LLM.git"
)
cmake_script.cmd("git submodule sync")
cmake_script.cmd("cd ..")
tensorrtllm_prebuild(cmake_script)
else:
cmake_script.gitclone(backend_repo(be), tag, be, github_organization)

cmake_script.mkdir(repo_build_dir)
cmake_script.cwd(repo_build_dir)
Expand Down

0 comments on commit 86667fb

Please sign in to comment.