-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds marks to the pytest integration suite. They can be used to run suites of tests outside of just the class restrictions. Specifically, it is useful for running tests for a feature, backend, or instance type.
- Loading branch information
Showing
3 changed files
with
57 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[pytest] | ||
markers = | ||
gpu: Runs on any gpu machine | ||
gpu_4: Runs on a machine with at least 4 gpus (includes gpu mark) | ||
inf: Runs on inferentia | ||
aarch64: Runs on aarch64 | ||
cpu: Tests cpu | ||
|
||
hf: Tests the hf accelerate backend | ||
lmi_dist: Tests the lmi backend | ||
vllm: Tests the vllm backend | ||
trtllm: Tests the trtllm backend | ||
|
||
lora: Tests lora feature |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters