Skip to content

Commit

Permalink
docs: Add tensorrtllm_backend into doc generation (#7563)
Browse files Browse the repository at this point in the history
  • Loading branch information
krishung5 authored Aug 23, 2024
1 parent fb60c0e commit 187a4a3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/generate_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,12 @@ def main():
if "python_backend" in repo_tags:
clone_from_github("python_backend", repo_tags["python_backend"], github_org)

# Usage generate_docs.py --repo-tag=tensorrtllm_backend:main
if "tensorrtllm_backend" in repo_tags:
clone_from_github(
"tensorrtllm_backend", repo_tags["tensorrtllm_backend"], github_org
)

# Usage generate_docs.py --backend-tag=custom_backend:main
# Custom backend can be anything currently empty
if "custom_backend" in backend_tags:
Expand All @@ -409,6 +415,10 @@ def main():
run_command("rm -rf python_backend")
if "custom_backend" in backend_tags:
run_command("rm -rf custom_backend")
if "tensorrtllm_backend" in repo_tags:
run_command("rm -rf tensorrtllm_backend")
if "perf_analyzer" in repo_tags:
run_command("rm -rf perf_analyzer")

# Return to previous working directory server/.
os.chdir(server_abspath)
Expand Down

0 comments on commit 187a4a3

Please sign in to comment.