transformers
Fix Mac mps dataloader_num_workers > 1 causes RuntimeError: _share_filename_: only available on CPU
#38819
Merged

Fix Mac mps dataloader_num_workers > 1 causes RuntimeError: _share_filename_: only available on CPU #38819

SunMarc merged 4 commits into huggingface:main from AmitMY:patch-4
AmitMY
AmitMY Update trainer.py: add multiprocessing_context for mps devices
a6963e78
High5Apps
AmitMY AmitMY changed the title Update trainer.py: add multiprocessing_context for mps devices Fix Mac mps dataloader_num_workers > 1 causes RuntimeError: _share_filename_: only available on CPU 213 days ago
SunMarc
SunMarc approved these changes on 2025-11-20
SunMarc Merge branch 'main' into patch-4
f3c7fc57
AmitMY Fix multiprocessing context for MPS with workers
b5d05dd2
SunMarc
SunMarc
github-actions
github-actions[bot] Apply style fixes
1254936e
SunMarc SunMarc enabled auto-merge (squash) 213 days ago
SunMarc SunMarc merged 6bc8121b into main 213 days ago
HuggingFaceDocBuilderDev

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone