transformers
Enhance Model Loading By Providing Parallelism, Uses Optional Env Flag
#36835
Merged
Go
Login via GitHub
Home
FAQ
Install
Login
via GitHub
Overview
Commits
34
Changes
View On
GitHub
Commits
Get parallel loader working. Include tests.
inf3rnus
committed
1 year ago
Update the tests for parallel loading
inf3rnus
committed
1 year ago
Merge branch 'main' into 03-18-25-parallel-model-loading
inf3rnus
committed
1 year ago
Rename env variables.
inf3rnus
committed
1 year ago
Add docs for parallel model weight loading.
inf3rnus
committed
1 year ago
Touch up parallel model loading docs.
inf3rnus
committed
1 year ago
Touch up parallel model loading docs again.
inf3rnus
committed
1 year ago
Edit comment in test_modeling_utils_parallel_loading.py
inf3rnus
committed
1 year ago
Merge branch 'main' into 03-18-25-parallel-model-loading
inf3rnus
committed
1 year ago
Make sure HF_PARALLEL_LOADING_WORKERS is spelled correctly in modeling_utils.py
inf3rnus
committed
1 year ago
Correct times for parallelized loading, previous times were for a "hot" filesystem
inf3rnus
committed
1 year ago
Update parallel model loading so the spawn method is encapsulated. DRY up the code by leveraging get_submodule.
inf3rnus
committed
1 year ago
Update docs on model loading parallelism so that details on setting the multiprocessing start method are removed, now that the package handles this step internally.
inf3rnus
committed
1 year ago
Fix style on model loading parallelism changes.
inf3rnus
committed
1 year ago
Merge remote-tracking branch 'upstream/main' into 03-18-25-parallel-model-loading
inf3rnus
committed
1 year ago
Merge latest version of master's modeling_utils.
inf3rnus
committed
1 year ago
Removed unused variable.
inf3rnus
committed
1 year ago
Fix argument packing for the parallel loader.
inf3rnus
committed
1 year ago
Fix state dict being undefined in the parallel model loader.
inf3rnus
committed
1 year ago
Merge main.
inf3rnus
committed
1 year ago
Rename variables used in parallel model loading for clarity. Use get_module_from_name().
inf3rnus
committed
1 year ago
Switch to the use of threads for parallel model loading.
inf3rnus
committed
1 year ago
Update docs for parallel loading.
inf3rnus
committed
1 year ago
Remove the use of json.loads when evaluating HF_ENABLE_PARALLEL_LOADING. Prefer simple casting.
inf3rnus
committed
1 year ago
Move parallelized shard loading into its own function.
inf3rnus
committed
1 year ago
Remove use of is_true(). Favor checking env var true values for HF_ENABLE_PARALLEL_LOADING.
inf3rnus
committed
1 year ago
Update copyright to 2025 in readme for paralell model loading.
inf3rnus
committed
1 year ago
Remove garbage collection line in load_shard_file, implicit garbage collection already occurs.
inf3rnus
committed
1 year ago
Run formatter on modeling_utils.py
inf3rnus
committed
1 year ago
Merge branch 'main' into 03-18-25-parallel-model-loading
inf3rnus
committed
1 year ago
Apply style fixes
github-actions[bot]
committed
1 year ago
Merge main.
inf3rnus
committed
1 year ago
Delete tests/utils/test_modeling_utils_parallel_loading.py
inf3rnus
committed
1 year ago
Merge branch 'main' into 03-18-25-parallel-model-loading
Cyrilvallez
committed
1 year ago
Loading