New RunLLM response generated: >>>*# Question* He...
# runllm-flyte-trial
a
New RunLLM response generated: >>>*# Question* Hello Flyte community. I am testing reference tasks and keep getting an error about container_image which isn't mentioned in the documentation. details and trace in thread
*AttributeError:* 'ReferenceTask' object has no attribute '_container_image'
# Answer The error you're encountering,
AttributeError: 'ReferenceTask' object has no attribute '_container_image'
, suggests that the
ReferenceTask
does not support the
container_image
attribute. This is not explicitly mentioned in the documentation. To address this, you can use the
with_overrides
method to specify the container image for the task. However, there are known issues with
with_overrides
in certain versions of Flytekit, particularly version 1.11.0, where container image overrides may not work as expected (source). Would you like more details on how to implement a workaround using dynamic tasks or other methods to handle container image overrides? Sources: - https://github.com/flyteorg/flyte/issues/5297 Slack Link https://flyte-org.slack.com/archives/CP2HDHKE1/p1722549808.159589 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.