Skip to content
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

Merged
merged 4 commits into from
Feb 26, 2024

Conversation

rsignell
Copy link
Contributor

@rsignell rsignell commented Feb 1, 2024

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

Copy link
Member

@tomwhite tomwhite left a 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
Copy link
Member

@tomwhite tomwhite Feb 1, 2024

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

Copy link
Member

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

Copy link
Member

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah right

@tomwhite tomwhite merged commit aedc350 into cubed-dev:main Feb 26, 2024
6 checks passed
@tomwhite
Copy link
Member

Thanks for the contribution @rsignell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants