Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More parallelism timeouts strict local backend heap size #13128

Conversation

danking
Copy link
Contributor

@danking danking commented May 31, 2023

No description provided.

@danking
Copy link
Contributor Author

danking commented May 31, 2023

This now also includes #13123

Copy link
Contributor

@daniel-goldstein daniel-goldstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving as all the related PRs that were rolled into this were already approved.

@@ -1941,7 +1941,7 @@ def unfilter_entries(self):
entry_ir = hl.if_else(
hl.is_defined(self.entry),
self.entry,
hl.literal(hl.Struct(**{k: hl.missing(v.dtype) for k, v in self.entry.items()})))._ir
hl.struct(**{k: hl.missing(v.dtype) for k, v in self.entry.items()}))._ir
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this avoids an eval just to get None for the missing (which is the converted back to a missing IR)

t = t.key_by(locus=hl.locus('1', t.idx + 1))
t = t.annotate(annotation=hl.str(t.idx))
t = hl.utils.genomic_range_table(10)
t = t.annotate(annotation=hl.str(t.locus.position - 1))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this avoids a useless shuffle

@@ -38,19 +39,6 @@ class VCFTests(unittest.TestCase):
def test_info_char(self):
self.assertEqual(hl.import_vcf(resource('infochar.vcf')).count_rows(), 1)

def test_import_export_same(self):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved outside of the unittest class so that I can use pytest parameterization.

@danking danking merged commit 67cebf5 into hail-is:main Jun 1, 2023
illusional added a commit to populationgenomics/hail that referenced this pull request Jun 14, 2023
Corrected in hail-is#13128, but not sure
why I selected the wrong bit of the merge.
illusional added a commit to populationgenomics/hail that referenced this pull request Jun 14, 2023
Corrected in hail-is#13128, but not sure
why I selected the wrong bit of the merge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants