-
Notifications
You must be signed in to change notification settings - Fork 32
🎨Computational backend: Make sure the number of threads of a dask-worker is computed for autoscaling 🚨🚨🚨 #8423
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
Merged
sanderegg
merged 93 commits into
ITISFoundation:master
from
sanderegg:autoscaling/dask-provider-check-nthreads
Oct 24, 2025
Merged
Changes from all commits
Commits
Show all changes
93 commits
Select commit
Hold shift + click to select a range
c8ab889
disable hack
sanderegg d0fc1c6
refactor
sanderegg 29465a5
added generic resource to ec2 resource model
sanderegg 3915a82
do not define gt it is weird for resources
sanderegg 2209e2c
improve coverage
sanderegg 4db4871
ruff
sanderegg e5012b6
add missing test
sanderegg cf39158
ruff
sanderegg cfc3ec7
use ge operator
sanderegg 9e3e916
added model dump flat
sanderegg 4dd4191
both direction
sanderegg 073050f
added ENV variables for nthreads and threads multiplier
sanderegg 74bcf7d
use ge operator instead of incorrect gt operator
sanderegg 9a7eb37
define variables for tests
sanderegg 2a67d9e
pass nthreads and multiplier also to the autoscaling service
sanderegg 2a3019f
ongoing
sanderegg 30b4367
typo
sanderegg 3c87321
fix counter
sanderegg 7971dea
fixed test assert
sanderegg 8981962
fix assert
sanderegg 8fd2fce
typo
sanderegg f62edf4
wrong types
sanderegg 6911754
ongoing
sanderegg 7c9a8b7
mypy
sanderegg 6dfde1d
added test for getting threads resources
sanderegg 03be3af
added test
sanderegg c3117a7
improve testing
sanderegg 37d1b44
improve testing
sanderegg 0902d08
ruff
sanderegg 64d84dc
adding test
sanderegg 067f8ff
implemented compute cluster total resources
sanderegg 7048af2
adjusted compute used resources
sanderegg 52ee133
testing
sanderegg 171e702
simplify
sanderegg 7328d75
simplify
sanderegg addb6fd
create a typed dict
sanderegg 82889c4
simplify
sanderegg 711a7e9
moved naming
sanderegg b236f57
more
sanderegg d9682ff
mypy
sanderegg fb5f001
mypy
sanderegg adfdb9c
fix test
sanderegg a402559
mypy
sanderegg 97a195b
improve docs
sanderegg 89c547c
remove todo
sanderegg 6179fe7
re-added gt operator
sanderegg 03a2614
use Required
sanderegg 8e0f905
improve docs
sanderegg 74d8ca8
moved docs
sanderegg 1158e99
added mapping
sanderegg 49b4bb9
added mapping
sanderegg 83db960
improve error
sanderegg 4d2281f
make private
sanderegg 7418819
simplify
sanderegg 3f930bd
simplify
sanderegg ec8cbaf
fix computation
sanderegg f40f5db
type
sanderegg fd3a58d
type
sanderegg b114585
no need to call items
sanderegg f852935
revert
sanderegg b02ec97
refactor
sanderegg 44eb03d
better assert
sanderegg 8916cc6
improving test
sanderegg 255a7d2
add generic instances based on the provider
sanderegg 2254919
sonar
sanderegg b9d7428
fix?
sanderegg 824dfa7
improve error
sanderegg 6020b89
add resource info on instance types as well
sanderegg 1c0869f
mypy
sanderegg e55ec44
need to be fixed
sanderegg d2f241a
done
sanderegg 31aa4c2
fixed tests
sanderegg ac71422
added missing calls
sanderegg 28bdfee
@copilot review
sanderegg 04e68cb
Update services/autoscaling/src/simcore_service_autoscaling/core/erro…
sanderegg d396dab
Update services/autoscaling/tests/unit/test_modules_dask.py
sanderegg 2b52109
ensure thread is at least 1
sanderegg 56c4326
improve coverage
sanderegg e3b998e
added test and a fix
sanderegg 3bb8fad
fix code
sanderegg a6c322b
adjust ram cpu
sanderegg 2e71395
Update packages/dask-task-models-library/src/dask_task_models_library…
sanderegg 4cc9bb3
Update services/autoscaling/src/simcore_service_autoscaling/modules/d…
sanderegg ed8fcd0
fix return value
sanderegg e23a789
created a base function to compute resources
sanderegg 525954c
fixed tests
sanderegg fc09515
pylint
sanderegg a7d975b
linter
sanderegg c998a25
fixed tests
sanderegg 6371b25
fixed types
sanderegg c773ac1
Update services/autoscaling/src/simcore_service_autoscaling/modules/c…
sanderegg 29d4211
Update packages/aws-library/src/aws_library/ec2/_models.py
sanderegg f2bcb52
@pcrespov review: add some more string comparisons
sanderegg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.