Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.pipelines
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.pipelines
Merge requests
!23
An error occurred while fetching the assigned milestone of the selected merge_request.
Better defaults for .adapt method
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Better defaults for .adapt method
dask-defaults
into
master
Overview
0
Commits
1
Pipelines
1
Changes
3
Merged
Tiago de Freitas Pereira
requested to merge
dask-defaults
into
master
5 years ago
Overview
0
Commits
1
Pipelines
1
Changes
3
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
5b8ffd65
1 commit,
5 years ago
3 files
+
28
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
bob/pipelines/config/distributed/sge_iobig_16cores.py
+
9
−
1
Options
@@ -14,6 +14,14 @@ Q_1DAY_IO_BIG_SPEC = {
n_jobs
=
16
cluster
=
SGEIdiapCluster
(
sge_job_spec
=
Q_1DAY_IO_BIG_SPEC
)
cluster
.
scale
(
n_jobs
)
cluster
.
scale
(
1
)
# Adapting to minimim 1 job to maximum 48 jobs
# interval: Milliseconds between checks from the scheduler
# wait_count: Number of consecutive times that a worker should be suggested for
# removal before we remove it.
# Here the goal is to wait 2 minutes before scaling down since
# it is very expensive to get jobs on the SGE grid
cluster
.
adapt
(
minimum
=
1
,
maximum
=
n_jobs
,
wait_count
=
120
,
interval
=
1000
)
dask_client
=
Client
(
cluster
)
Loading