Commit 790348b4 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Taking care of the issue #19

parent 9252143c
import bob.bio.base
# define a queue with demanding parameters
grid = bob.bio.base.grid.Grid(
training_queue = 'GPU',
# preprocessing
preprocessing_queue = '4G',
# feature extraction
extraction_queue = 'GPU',
# feature projection
projection_queue = '4G',
# model enrollment
enrollment_queue = '4G',
# scoring
scoring_queue = '4G'
)
...@@ -29,7 +29,8 @@ PREDEFINED_QUEUES = { ...@@ -29,7 +29,8 @@ PREDEFINED_QUEUES = {
'16G-io-big' : {'queue' : 'q1dm', 'memfree' : '16G', 'pe_opt' : 'pe_mth 2', 'hvmem' : '8G', 'io_big' : True}, '16G-io-big' : {'queue' : 'q1dm', 'memfree' : '16G', 'pe_opt' : 'pe_mth 2', 'hvmem' : '8G', 'io_big' : True},
'32G' : {'queue' : 'q1dm', 'memfree' : '32G', 'pe_opt' : 'pe_mth 4', 'hvmem' : '8G', 'io_big' : True}, '32G' : {'queue' : 'q1dm', 'memfree' : '32G', 'pe_opt' : 'pe_mth 4', 'hvmem' : '8G', 'io_big' : True},
'64G' : {'queue' : 'q1dm', 'memfree' : '64G', 'pe_opt' : 'pe_mth 8', 'hvmem' : '8G', 'io_big' : True}, '64G' : {'queue' : 'q1dm', 'memfree' : '64G', 'pe_opt' : 'pe_mth 8', 'hvmem' : '8G', 'io_big' : True},
'Week' : {'queue' : 'q1wm', 'memfree' : '32G', 'pe_opt' : 'pe_mth 4', 'hvmem' : '8G'} 'Week' : {'queue' : 'q1wm', 'memfree' : '32G', 'pe_opt' : 'pe_mth 4', 'hvmem' : '8G'},
'GPU' : {'queue' : 'gpu'}
} }
class Grid: class Grid:
......
...@@ -145,6 +145,7 @@ setup( ...@@ -145,6 +145,7 @@ setup(
'local-p16 = bob.bio.base.config.grid.local:grid_p16', 'local-p16 = bob.bio.base.config.grid.local:grid_p16',
'grid = bob.bio.base.config.grid.grid:grid', 'grid = bob.bio.base.config.grid.grid:grid',
'demanding = bob.bio.base.config.grid.demanding:grid', 'demanding = bob.bio.base.config.grid.demanding:grid',
'gpu = bob.bio.base.config.grid.gpu:grid',
], ],
}, },
......
Supports Markdown
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