forked from vllm-project/vllm
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #279 from dtrifiro/sync-with-0.6.6
Sync with upstream @v0.6.6.post1
- Loading branch information
Showing
388 changed files
with
18,998 additions
and
11,447 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import argparse | ||
import os | ||
|
||
template = """<!DOCTYPE html> | ||
<html> | ||
<body> | ||
<h1>Links for vLLM</h1/> | ||
<a href="../{wheel_html_escaped}">{wheel}</a><br/> | ||
</body> | ||
</html> | ||
""" | ||
|
||
parser = argparse.ArgumentParser() | ||
parser.add_argument("--wheel", help="The wheel path.", required=True) | ||
args = parser.parse_args() | ||
|
||
filename = os.path.basename(args.wheel) | ||
|
||
with open("index.html", "w") as f: | ||
print(f"Generated index.html for {args.wheel}") | ||
# cloudfront requires escaping the '+' character | ||
f.write( | ||
template.format(wheel=filename, | ||
wheel_html_escaped=filename.replace("+", "%2B"))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.