Skip to content

pre-spawn-environ - #6841

Merged
crusaderky merged 7 commits into
dask:mainfrom
crusaderky:pre-spawn-environ
Aug 8, 2022
Merged

crusaderky merged 7 commits into
dask:mainfrom
crusaderky:pre-spawn-environ

Conversation

@crusaderky

Copy link
Copy Markdown
Collaborator

@crusaderky crusaderky self-assigned this Aug 5, 2022
@github-actions

github-actions Bot commented Aug 5, 2022

Copy link
Copy Markdown
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

       15 files  ±  0         15 suites  ±0   6h 40m 12s ⏱️ + 15m 28s
  2 992 tests +  2    2 900 ✔️ ±0       88 💤 ±0    4 ❌ +2 
22 190 runs  +17  21 127 ✔️ +4  1 053 💤 +5  10 ❌ +8 

For more details on these failures, see this check.

Results for commit 2cbe697. ± Comparison against base commit 0dd00be.

@fjetter fjetter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Changes LGTM but I think there is a genuine test failure in test_config about the schema validation

Comment thread distributed/nanny.py Resolved
@crusaderky

Copy link
Copy Markdown
Collaborator Author

fixed test

Comment thread distributed/distributed-schema.yaml Resolved
Comment thread distributed/distributed-schema.yaml Resolved
assert results[n.worker_address]["PRE-SPAWN"] == "1"
assert results[n.worker_address]["POST-SPAWN"] == "2"

del os.environ["PRE-SPAWN"]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

in a finally? not a big deal if it leaks to other tests though

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

a bit overkill IMHO

@crusaderky
crusaderky merged commit 77836c9 into dask:main Aug 8, 2022
@crusaderky
crusaderky deleted the pre-spawn-environ branch August 8, 2022 15:15
@jrbourbeau

Copy link
Copy Markdown
Member

Thanks @crusaderky

cc @pentschev if you want to try out the current main branch with dask-cuda

@pentschev

Copy link
Copy Markdown
Member

Thanks @crusaderky for the work here and @jrbourbeau for the ping. On initial testing, this PR seems to be working well for us. We should have some heavier testing done overnight and if anything pops up, I'll ping this thread again, but hopefully won't be necessary!

gjoseph92 pushed a commit to gjoseph92/distributed that referenced this pull request Oct 31, 2022
@Jan-Willem Jan-Willem mentioned this pull request Aug 13, 2026
Closed
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.

Performance regression in cluster memory usage Set MALLOC_TRIM_THRESHOLD_ before interpreter start

5 participants