data icon indicating copy to clipboard operation
data copied to clipboard

Replace portalocker with filelock to further reduce dependency

Open ejguan opened this issue 2 years ago • 0 comments

🚀 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

ejguan avatar Feb 13 '23 22:02 ejguan