Skip to content

Commit

Permalink
updates partitions for rusty
Browse files Browse the repository at this point in the history
  • Loading branch information
billbrod committed Oct 1, 2020
1 parent f89ae52 commit e6213b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ rule create_metamers:
params:
cache_dir = lambda wildcards: op.join(config['DATA_DIR'], 'windows_cache'),
time = lambda wildcards: {'V1': '12:00:00', 'RGC': '5-00:00:00'}[wildcards.model_name.split('_')[0]],
partition = lambda wildcards: {0: 'gen'}.get(int(wildcards.gpu), 'gpu')
partition = lambda wildcards: {0: 'ccn'}.get(int(wildcards.gpu), 'gpu')
run:
import foveated_metamers as met
import contextlib
Expand Down Expand Up @@ -664,7 +664,7 @@ rule continue_metamers:
params:
cache_dir = lambda wildcards: op.join(config['DATA_DIR'], 'windows_cache'),
time = lambda wildcards: {'V1': '12:00:00', 'RGC': '5-00:00:00'}[wildcards.model_name.split('_')[0]],
partition = lambda wildcards: {0: 'gen'}.get(int(wildcards.gpu), 'gpu')
partition = lambda wildcards: {0: 'ccn'}.get(int(wildcards.gpu), 'gpu')
run:
import foveated_metamers as met
import contextlib
Expand Down
2 changes: 1 addition & 1 deletion rusty.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"cpus_per_task": 1,
"output": "{log}-%j",
"error": "{log}-%j",
"partition": "gen"
"partition": "genx"
},
"create_metamers":
{
Expand Down

0 comments on commit e6213b7

Please sign in to comment.