Hi everyone! I'm having some issues with `runtime...
# questions
f
Hi everyone! I'm having some issues with
runtime_params
. I have the following
parameters.yml
file:
Copy code
model:
  name: "${runtime_params:model_name}"
  identifier: "${runtime_params:model_identifier}"
When running the pipeline I'm using the following CLI command:
Copy code
kedro run --params model_name=llama,model_identifier=meta-llama/Llama-3.1-8
But I'm getting the following error:
Copy code
InterpolationResolutionError: Runtime parameter 'model_name' not found and no default value provided.
I've been trying to solve this without any luck. I would greatly appreciate any insights into this issue. Thanks!
h
Someone will reply to you shortly. In the meantime, this might help:
h
hey @Francisco Piedrahita Velez I think you could try to wrap them in quotes and see if it works? As I found the doc also mentioned similar syntax `If any extra parameter key or value contains spaces, wrap the whole option contents in quotes:`so it should be something like this
Copy code
kedro run --params="key1=value with spaces,key2=value"
let me know if this resolves the issue?
f
Thanks @Huong Nguyen for the suggestion. It does not work even when adding the = sign or quotes. I don't think this might be the issue in the first place since the original string did not contain any spaces.
h
ah okay @Francisco Piedrahita Velez just another small thing if you have the time to test please, Does it run when you do
kedro run --params model_name=llama
? or
kedro run --params model_identifier=meta-llama/Llama-3.1-8
?
f
When running
kedro run --params model_name=llama
or
kedro run --params model_identifier=meta-llama/Llama-3.1-8
I get:
Copy code
InterpolationResolutionError: Runtime parameter 'model_name' not found and no
default value provided.
h
thanks for testing this quickly. Let me dig into this issue and hope to get back to you soon 😄
f
Thanks!
h
hey @Francisco Piedrahita Velez after looking into this with the team, we think this might be a bug, do you mind opening a new issue just so we can investigate to it properly please?
👍 1
f
Yes, I'll do that during the day. Thanks for the help.
thankyou 1
h
thank you @Francisco Piedrahita Velez 😄
f