[sphinx] Updated documentation

parent ee8cbfbd
Pipeline #39148 passed with stage
in 4 minutes and 19 seconds
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment