@@ -40,29 +40,25 @@ fast_tests_diffusers:
40
40
python -m pytest tests/test_diffusers.py
41
41
42
42
# Run single-card non-regression tests
43
- slow_tests_1x :
44
- python -m pip install .[tests]
43
+ slow_tests_1x : test_installs
45
44
python -m pytest tests/test_examples.py -v -s -k " single_card"
46
45
47
46
# Run multi-card non-regression tests
48
- slow_tests_8x :
49
- python -m pip install .[tests]
47
+ slow_tests_8x : test_installs
50
48
python -m pytest tests/test_examples.py -v -s -k " multi_card"
51
49
52
50
# Run DeepSpeed non-regression tests
53
- slow_tests_deepspeed :
54
- python -m pip install .[tests]
51
+ slow_tests_deepspeed : test_installs
55
52
python -m pip install git+https://github.com/HabanaAI/DeepSpeed.git@1.7.0
56
53
python -m pytest tests/test_examples.py -v -s -k " deepspeed"
57
54
58
- slow_tests_diffusers :
59
- python -m pip install .[tests]
55
+ slow_tests_diffusers : test_installs
56
+ python -m pip install git+https://github.com/huggingface/diffusers.git
60
57
python -m pip install ftfy
61
58
python -m pytest tests/test_diffusers.py -v -s -k " test_no_"
62
59
63
60
# Check if examples are up to date with the Transformers library
64
- example_diff_tests :
65
- python -m pip install .[tests]
61
+ example_diff_tests : test_installs
66
62
python -m pytest tests/test_examples_match_transformers.py
67
63
68
64
# Utilities to release to PyPi
96
92
find . -name " habana_log.livealloc.log_*" -type f -delete
97
93
find . -name .lock -type f -delete
98
94
find . -name .graph_dumps -type d -delete
95
+
96
+ test_installs :
97
+ python -m pip install .[tests]
98
+ python -m pip install git+https://github.com/huggingface/transformers.git
0 commit comments