在安装pytorch-directml的过程中报错:
ERROR: Ignored the following yanked versions: 1.8.0a0.dev211021, 1.8.0a0.dev220224, 1.8.0a0.dev220506
ERROR: Could not find a version that satisfies the requirement pytorch-directml (from versions: none)
ERROR: No matching distribution found for pytorch-directml
解释为找不到对应版本
解决方案:
pip install 时加上版本号如:
pip install pytorch-directml==1.8.0a0.dev220506