-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
small changes to coiled/aws examples #369
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for submitting this @rsignell!
@@ -21,7 +21,7 @@ | |||
c = xp.add(a, b) | |||
res = c.compute( | |||
executor=executor, | |||
memory="1 GiB", # must be greater than allowed_mem | |||
memory=["1 GiB", "8 GiB"] # memory range |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there's a missing comma here?
Also might be worth preserving the previous comment too:
# memory range, lower value must be at least allowed_mem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't realise we could submit a range now, that's nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be clear - the memory
argument is passed through to the Coiled function, it's not interpreted by Cubed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah right
Thanks for the contribution @rsignell |
Just a few minor changes that were necessary for me to run the examples on coiled. I needed to run with the latest version of coiled (I did
pip install coiled==1.3.12.dev12
), for more info see coiled/feedback#271