diff --git a/06_gpu_and_ml/llm-serving/text_generation_inference.py b/06_gpu_and_ml/llm-serving/text_generation_inference.py index 130eb245c..b1d7c10c3 100644 --- a/06_gpu_and_ml/llm-serving/text_generation_inference.py +++ b/06_gpu_and_ml/llm-serving/text_generation_inference.py @@ -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( diff --git a/06_gpu_and_ml/llm-serving/tgi_mixtral.py b/06_gpu_and_ml/llm-serving/tgi_mixtral.py index 002ee51b2..4c4067c9c 100644 --- a/06_gpu_and_ml/llm-serving/tgi_mixtral.py +++ b/06_gpu_and_ml/llm-serving/tgi_mixtral.py @@ -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( diff --git a/06_gpu_and_ml/llm-serving/vllm_mixtral.py b/06_gpu_and_ml/llm-serving/vllm_mixtral.py index 253d038f0..6844c957c 100644 --- a/06_gpu_and_ml/llm-serving/vllm_mixtral.py +++ b/06_gpu_and_ml/llm-serving/vllm_mixtral.py @@ -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(