Skip to content
This repository was archived by the owner on Sep 20, 2025. It is now read-only.

Commit 00e0205

Browse files
committed
2 parents b9af434 + 021dfe8 commit 00e0205

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

src/emd/sdk/clients/ecs_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ def validate_environment(cls, values: Dict) -> Dict:
115115

116116
def invoke(self,pyload:dict):
117117
stream = pyload.get('stream', False)
118-
model_specific_invocations_path = get_model_specific_path(self.model_id, self.model_tag, "invocations")
119-
url = f"{self.base_url}{model_specific_invocations_path}"
118+
url = f"{self.base_url}/invocations"
120119
if stream:
121120
response = requests.post(
122121
url,

src/pipeline/backend/backend.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from abc import ABC, abstractmethod
2-
from typing import Iterable, List
2+
from typing import Iterable, List, AsyncGenerator
33
from emd.models import Model,Engine
44
from typing import Iterable, List
55
import os
@@ -200,7 +200,7 @@ def _transform_response(self, response):
200200

201201
async def _atransform_response(self, response):
202202
# Transform response to sagemaker format
203-
return self._aget_response(response)
203+
return await self._aget_response(response)
204204

205205
def _transform_streaming_response(self, response):
206206
# Transform response to sagemaker format
@@ -226,7 +226,7 @@ def _get_streaming_response(self, response) -> Iterable[List[str]]:
226226
logger.error(traceback.format_exc())
227227
yield self._format_streaming_response(json.dumps({"error": str(e)}))
228228

229-
async def _aget_streaming_response(self, response) -> Iterable[List[str]]:
229+
async def _aget_streaming_response(self, response) -> AsyncGenerator[str, None]:
230230
try:
231231
async for chunk in response:
232232
logger.info(f"chunk: {chunk}")

src/pipeline/backend/comfyui/install_comfy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pip install -r custom_nodes/ComfyUI-Manager/requirements.txt
4747
pip install -r custom_nodes/ComfyUI-VideoHelperSuite/requirements.txt
4848
#pip install -r custom_nodes/ComfyUI-LTXVideo/requirements.txt
4949
pip install av>=10.0.0
50-
pip install ltx-video@git+https://github.com/Lightricks/LTX-Video
50+
pip install ltx-video@git+https://github.com/Lightricks/LTX-Video@ltx-video-0.9.1
5151

5252
pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip
5353
pip install https://github.com/mlfoundations/open_clip/archive/bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b.zip

0 commit comments

Comments
 (0)