Skip to content
Snippets Groups Projects
Commit 85476238 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

[sphinx] Updated documentation

parent ee8cbfbd
No related branches found
No related tags found
1 merge request!24Queues defaults
Pipeline #39148 passed
......@@ -75,11 +75,11 @@ Q_1DAY_GPU_SPEC = {
},
}
from bob.pipelines.distributed.sge import SGEIdiapCluster
from bob.pipelines.distributed.sge import SGEMultipleQueuesCluster
from dask.distributed import Client
cluster = SGEIdiapCluster(sge_job_spec=Q_1DAY_GPU_SPEC)
cluster.scale(1, sge_job_spec_key="gpu") # Submitting 1 job in the q_gpu queue
cluster = SGEMultipleQueuesCluster()
cluster.scale(1, sge_job_spec_key="q_gpu") # Submitting 1 job in the q_gpu queue
cluster.scale(10) # Submitting 9 jobs in the q_1day queue
client = Client(cluster) # Creating the scheduler
......
......@@ -75,10 +75,10 @@ Q_1DAY_GPU_SPEC = {
},
}
from bob.pipelines.distributed.sge import SGEIdiapCluster
from bob.pipelines.distributed.sge import SGEMultipleQueuesCluster
from dask.distributed import Client
cluster = SGEIdiapCluster(sge_job_spec=Q_1DAY_GPU_SPEC)
cluster = SGEMultipleQueuesCluster(sge_job_spec=Q_1DAY_GPU_SPEC)
cluster.scale(1) # Submitting 1 job in the q_gpu queue
cluster.adapt(minimum=1, maximum=10)
client = Client(cluster) # Creating the scheduler
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment