Skip to content

Commit

Permalink
Fix llm frontend path for tgi mixtral (#600)
Browse files Browse the repository at this point in the history
* Update llm-frontend path

* Revert text_generation_inference to previous state
  • Loading branch information
yirenlu92 authored Feb 27, 2024
1 parent f71e7b1 commit a9e2c13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 06_gpu_and_ml/llm-serving/text_generation_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def main():
#
# You can try our deployment [here](https://modal-labs--tgi-app.modal.run).

frontend_path = Path(__file__).parent.parent / "llm-frontend"
frontend_path = Path(__file__).parent / "llm-frontend"


@stub.function(
Expand Down
2 changes: 1 addition & 1 deletion 06_gpu_and_ml/llm-serving/tgi_mixtral.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def main():
#
# You can try our deployment [here](https://modal-labs--tgi-mixtral.modal.run).

frontend_path = Path(__file__).parent / "llm-frontend"
frontend_path = Path(__file__).parent.parent / "llm-frontend"


@stub.function(
Expand Down
2 changes: 1 addition & 1 deletion 06_gpu_and_ml/llm-serving/vllm_mixtral.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def main():

from modal import Mount, asgi_app

frontend_path = Path(__file__).parent / "llm-frontend"
frontend_path = Path(__file__).parent.parent / "llm-frontend"


@stub.function(
Expand Down

0 comments on commit a9e2c13

Please sign in to comment.