Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add tensorrtllm_backend into doc generation #7563

Merged
merged 1 commit into from
Aug 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A quick heads up, I think @statiraju is refactoring this section and will get rid of annoying if statements.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Confirmed that we can merge this one for now, and Suman will add his changes on top of this.

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
Loading