aai-institute / pyDVL

pyDVL is a library of stable implementations of algorithms for data valuation and influence function computation
https://pydvl.org
GNU Lesser General Public License v3.0
89 stars 9 forks source link

Add functionality to set a device fixture depending on the availability #574

Closed schroedk closed 1 month ago

schroedk commented 1 month ago

Description

This PR closes #573

Changes

Checklist

schroedk commented 1 month ago

Useful! But wouldn't one want to run tests both with and without cuda as well?

Yes, but I would ask the user to do it manually, and not automatically. In our automatic test environment, we do not have access to cuda anyway.