IntelLabs / MART

Modular Adversarial Robustness Toolkit
BSD 3-Clause "New" or "Revised" License
16 stars 0 forks source link

Allow PyTorch 2.0.0 in dependency #196

Open mzweilin opened 1 year ago

mzweilin commented 1 year ago

What does this PR do?

We need to allow PyTorch 2.0.0, because PyTorch 2.0.1 gives incomplete dependency to Poetry.

https://github.com/pytorch/pytorch/issues/100974 https://github.com/python-poetry/poetry/issues/7902

An alternative solution is to manually add the missing dependency of PyTorch 2.0.1 to your Poetry config.

I also believe the updated dependency (PyTorch>=2.0.0) makes more sense.

Type of change

Please check all relevant options.

Testing

Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.

Before submitting

Did you have fun?

Make sure you had fun coding 🙃