https://kedro.org/ logo
#questions
Title
# questions
a

Aayush

09/05/2023, 1:02 PM
has anyone used kedro-sagemaker plugin.. some how i am getting validation error for KedroSageMakerPluginConfig, its receiving NoneType. I am just trying to implement the spaceflight project using kedro-sagemaker. Any ideas what could be causing the issue?
j

Juan Luis

09/05/2023, 1:03 PM
cc @marrrcin
👮‍♂️ 1
could you detail a bit more what are you doing and what Kedro and plugin versions are you using @Aayush?
1
m

marrrcin

09/05/2023, 1:04 PM
Have you’ve been following the official guide? 1.

https://www.youtube.com/watch?v=yXIdz4kNMc8

2. and / or https://kedro-sagemaker.readthedocs.io/en/0.3.0/source/03_quickstart.html ?
a

Aayush

09/05/2023, 1:15 PM

https://youtu.be/yXIdz4kNMc8?si=vYD_EPhXcrn-NlUH

i am following this tutorial
plugin version i am using is 0.3.0
m

marrrcin

09/05/2023, 1:16 PM
OK, at which step have you encountered an issue?
a

Aayush

09/05/2023, 1:17 PM
when i am executing.. kedro sagemaker run --autobuild
i am not reaching the prompt stage
m

marrrcin

09/05/2023, 1:18 PM
Do you have
sagemaker.yml
in the
conf/base
?
a

Aayush

09/05/2023, 1:18 PM
yes
it has aws ecr image uri and working directory
m

marrrcin

09/05/2023, 1:20 PM
It might be related to the recent config loader changes
Yeah, it’s definitely that
You can temorarily change the config loader to the old one, instead of
OmegaConfigLoader
💯 1
a

Aayush

09/05/2023, 1:21 PM
ok let me try
m

marrrcin

09/05/2023, 1:21 PM
Could you also please create an issue on our GH?
a

Aayush

09/05/2023, 1:22 PM
sure thing
@marrrcin my pipeline execution is failing..
when using kedro-sagemaker plugin is there a way to build image with --platform parameter set for linux/arm64.. using kedro sagemaker run --auto-build builds an image that fails on execution in aws pipelines. i am getting exec format error there.
m

marrrcin

09/06/2023, 6:46 AM
I assume you’re using mac, right? If so, then right now you will have to build the image on your own (and pass the
--platform
parameter as you’ve mentioned). We’re open to accept a PR that will add this flag to our auto-build CLI 🙂
3 Views