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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/coiled/aws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
3. Install a Python environment with the coiled package in it by running the following from this directory:

```shell
conda create --name cubed-coiled-examples -y python=3.9
conda create -n cubed-coiled-examples python=3.9 -y
conda activate cubed-coiled-examples
pip install 'cubed[coiled]'
```
Expand Down
2 changes: 1 addition & 1 deletion examples/coiled/aws/coiled-add-asarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, lower value must be at least allowed_mem
spot_policy="spot_with_fallback", # recommended
account=None, # use your default account (or change to use a specific account)
keepalive="30 seconds", # change this to keep clusters alive longer
Expand Down
2 changes: 1 addition & 1 deletion examples/coiled/aws/coiled-add-random.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
store=None,
executor=executor,
callbacks=[progress, hist, timeline_viz],
memory="2 GiB", # must be at least allowed_mem
memory=["2 GiB", "8 GiB"], # memory range
spot_policy="spot_with_fallback", # recommended
account=None, # use your default account (or change to use a specific account)
keepalive="30 seconds", # change this to keep clusters alive longer
Expand Down
Loading