data
data copied to clipboard
Replace portalocker with filelock to further reduce dependency
🚀 The feature
filelock module is added as a dependency for PyTorch when dynamo is introduced.
https://github.com/pytorch/pytorch/blob/a0d1dbc4466121f7aa0fa3754c5fbfe679c70c8e/requirements.txt#LL13-L13C9
We can re-use filelock module to do all file lock rather than portalocker.
Motivation, pitch
Reduce redundant dependency
Alternatives
No response
Additional context
No response