Skip to content

Commit

Permalink
Use correct number of bytes per double
Browse files Browse the repository at this point in the history
  • Loading branch information
sethaxen committed Jul 8, 2024
1 parent 2b773ed commit 0f704eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion workflow/rules/0_common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def make_target_configs(config):


def mem_mb_for_samples(wildcards) -> int:
bytes_per_double = 8
bytes_per_double = 64
num_chains = config["sample"]["chains"]
num_iters = config["sample"]["iter_sampling"]
target_config = f"{wildcards.target}/{wildcards.target_config}"
Expand Down
2 changes: 1 addition & 1 deletion workflow/rules/2_compute_target_expectations.smk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
def mem_mb_for_target_expectations(wildcards) -> int:
bytes_per_double = 8
bytes_per_double = 64
scale_factor = 10
batch_size = 1_000_000
N = target_configs[wildcards.target_config][1]["N"]
Expand Down

0 comments on commit 0f704eb

Please sign in to comment.