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

[FEATURE] Distributed Data Loader #118

Closed
merrymercy opened this issue Oct 8, 2021 · 1 comment
Closed

[FEATURE] Distributed Data Loader #118

merrymercy opened this issue Oct 8, 2021 · 1 comment
Assignees

Comments

@merrymercy
Copy link
Member

merrymercy commented Oct 8, 2021

Task 1:

Implement a data loader for the resnet benchmark

class Dataloader:
    def __init__(self,
                 file_path: Union[str, tensorflow.dataloader],
                 physical_mesh: parax.device_mesh.PhysicalMesh,
                 sharding_specs: jax.interpreter.pxla.ShardingSpec,
                 pre_process_func: Callable):
       pass

   def __iter__(self) -> Iteratable[Dict[str -> DistributedArray]]:
       yield batch

Task 2:

Implement a data loader for the BERT benchmark
parax's benchmark
https://github.com/parax-project/parax/blob/master/benchmark/parax/benchmark_2d_one_case_bert.py
huggingface's script
https://github.com/huggingface/transformers/blob/master/examples/flax/language-modeling/run_mlm_flax.py

@merrymercy merrymercy changed the title Data loader Distributed Data loader Jan 10, 2022
@merrymercy merrymercy changed the title Distributed Data loader Distributed Data Loader Jan 10, 2022
@merrymercy merrymercy self-assigned this Jan 25, 2022
@merrymercy merrymercy changed the title Distributed Data Loader [FEATURE] Distributed Data Loader Mar 11, 2022
@merrymercy
Copy link
Member Author

closed by #630

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

No branches or pull requests

1 participant