echoing-kangaroo-34845
04/03/2023, 10:40 PMNameError message (using metaflow 2.8.1 – not sure what other information to provide).
File "/app/metaflow/metaflow/_vendor/click/types.py", line 89, in __init__
2023-04-03 07:39:50.134 [1345/start/34057 (pid 1095)] [ddbe8294-cd98-411e-8c5c-1f1ab59aaf87] self.name = func.__name__
2023-04-03 07:39:50.134 [1345/start/34057 (pid 1095)] [ddbe8294-cd98-411e-8c5c-1f1ab59aaf87] File "/usr/local/lib/python3.9/typing.py", line 711, in __getattr__
2023-04-03 07:39:50.134 [1345/start/34057 (pid 1095)] [ddbe8294-cd98-411e-8c5c-1f1ab59aaf87] raise AttributeError(attr)
2023-04-03 07:39:50.135 [1345/start/34057 (pid 1095)] [ddbe8294-cd98-411e-8c5c-1f1ab59aaf87] AttributeError: __name__echoing-kangaroo-34845
04/03/2023, 10:55 PMCMD python /app/entrypoints/run-my-flow.py run \
--with batch
I presume that’s fine, and that Metaflow will override this CMD as needed for the steps (as it’s a similar pattern to what we’ve used in the past)echoing-kangaroo-34845
04/03/2023, 10:57 PMCMD is that we’ve historically used the same docker container to run the orchestrator as the steps and passed in args via env var – but right now the orchestrator is being run directly and the docker container is only for the steps)ancient-application-36103
04/03/2023, 11:01 PMechoing-kangaroo-34845
04/03/2023, 11:02 PMechoing-kangaroo-34845
04/03/2023, 11:02 PM2023-04-03 23:01:18.094 [1348/start/34064 (pid 1528)] Task finished successfully.ancient-application-36103
04/03/2023, 11:27 PMechoing-kangaroo-34845
04/03/2023, 11:46 PMechoing-kangaroo-34845
04/04/2023, 5:20 AMancient-application-36103
04/04/2023, 1:18 PMbulky-afternoon-92433
04/06/2023, 11:16 AMrun --with batch
• what kind of environment was the custom docker container built on?bulky-afternoon-92433
04/06/2023, 11:18 AMechoing-kangaroo-34845
04/17/2023, 1:14 AMFROM --platform=linux/amd64 python:3.9-slim
RUN apt-get update && apt-get install -y git curl
ENV VIRTUAL_ENV=/opt/venv
RUN python -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN pip install 'poetry<1.5'
WORKDIR /app
COPY . /app/
RUN poetry install --without=devechoing-kangaroo-34845
04/17/2023, 1:25 AM3.9.12. arch is x86_64. metaflow version is same as in step containers: 2.8.1echoing-kangaroo-34845
04/17/2023, 1:25 AMFROM continuumio/miniconda3:4.12.0 image)echoing-kangaroo-34845
06/02/2023, 2:21 AMbulky-afternoon-92433
06/02/2023, 10:54 AM--with batch , and using the same custom image). Have you tried deploying it as a step-function? Wondering if the issue is limited to sagemaker or not