I got command not allowed when used memory > āmaxmemoryā error when inferece my workflow and also canāt create dedicated deployment with just āinternal errorā
My inference code is below. and detect.roboflow.com endpoint works well (v1) but serverless.roboflow.com endpoint does not work
async def _execute_inference_with_retry(self, pil_img: Image.Image) -> list[dict]:
async for attempt in self._retry_strategy:
with attempt:
return await asyncio.to_thread(
self._client.run_workflow,
workspace_name="semohae",
workflow_id="custom-workflow",
images={"image": pil_img},
use_cache=True,
)