mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
sci-ml/accelerate: add test deps
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
parent
2d06936214
commit
09cda66272
@ -35,25 +35,19 @@ BDEPEND="test? (
|
||||
sci-ml/clearml[${PYTHON_USEDEP}]
|
||||
')
|
||||
sci-ml/caffe2[gloo]
|
||||
sci-ml/evaluate[${PYTHON_SINGLE_USEDEP}]
|
||||
sci-ml/torchdata[${PYTHON_SINGLE_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_IGNORE=(
|
||||
tests/test_examples.py
|
||||
tests/deepspeed
|
||||
tests/test_big_modeling.py
|
||||
tests/fsdp
|
||||
tests/tp
|
||||
tests/test_cli.py
|
||||
)
|
||||
local EPYTEST_DESELECT=(
|
||||
tests/test_modeling_utils.py::ModelingUtilsTester::test_infer_auto_device_map_with_buffer_check
|
||||
tests/test_modeling_utils.py::ModelingUtilsTester::test_infer_auto_device_map_with_buffer_check_and_multi_devices
|
||||
tests/test_modeling_utils.py::ModelingUtilsTester::test_infer_auto_device_map_with_fallback_allocation_and_buffers
|
||||
tests/test_utils.py::UtilsTester::test_patch_environment_key_exists
|
||||
tests/test_examples.py::FeatureExamplesTests
|
||||
)
|
||||
epytest tests
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user