NVIDIA / apex

A PyTorch Extension: Tools for easy mixed precision and distributed training in Pytorch
BSD 3-Clause "New" or "Revised" License
8.2k stars 1.36k forks source link

Fix installation command #1690

Closed janEbert closed 1 year ago

janEbert commented 1 year ago

--build-option is not the correct config setting to use; we need --global-option.

Ref #1679.

janEbert commented 1 year ago

Actually this command suffers from the same deprecation problems that the previous command tried to solve, see https://github.com/NVIDIA/apex/issues/1679#issuecomment-1622863439.

I assume the flags specified in --build-options need to be accessed differently in setup.py.

janEbert commented 1 year ago

See #1692.