Skip to content

Conversation

@gsakkis
Copy link
Contributor

@gsakkis gsakkis commented Jul 20, 2022

The parametric tests for loaders have grown quite a few parameters, some of them duplicated for the x and y array.

Similarly to #158, this PR simplifies parametrize_for_dataset by bundling the test parameters for each array into an ArraySpec dataclass.

Also update PyTorchTileDBDataLoader to fail early if num_workers>0 and any tensor schema is not dense due to pytorch/pytorch#20248.

@gsakkis gsakkis requested review from georgeSkoumas and ktsitsi July 20, 2022 15:00
@gsakkis gsakkis force-pushed the gsa/refactor-parametric-tests branch 4 times, most recently from 8b9008b to c22312f Compare July 21, 2022 09:37
@gsakkis gsakkis force-pushed the gsa/refactor-parametric-tests branch 3 times, most recently from 3f57546 to 0c36151 Compare July 21, 2022 12:40
@gsakkis gsakkis force-pushed the gsa/refactor-parametric-tests branch from 0c36151 to 05906db Compare July 21, 2022 22:42
@gsakkis gsakkis merged commit 5943ced into master Jul 26, 2022
@gsakkis gsakkis deleted the gsa/refactor-parametric-tests branch July 26, 2022 08:56
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