Skip to content

Commit

Permalink
change device
Browse files Browse the repository at this point in the history
  • Loading branch information
kprokofi committed Mar 16, 2024
1 parent 1292d1c commit 9e64563
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/perf/test_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def test_perf(
fxt_dataset: Benchmark.Dataset,
fxt_benchmark: Benchmark,
):
fxt_benchmark.accelerator = "gpu"
fxt_benchmark.accelerator = "xpu"
self._test_perf(
model=fxt_model,
dataset=fxt_dataset,
Expand Down Expand Up @@ -196,7 +196,7 @@ def test_perf(
fxt_dataset: Benchmark.Dataset,
fxt_benchmark: Benchmark,
):
fxt_benchmark.accelerator = "gpu"
fxt_benchmark.accelerator = "xpu"
self._test_perf(
model=fxt_model,
dataset=fxt_dataset,
Expand Down Expand Up @@ -276,7 +276,7 @@ def test_perf(
fxt_dataset: Benchmark.Dataset,
fxt_benchmark: Benchmark,
):
fxt_benchmark.accelerator = "gpu"
fxt_benchmark.accelerator = "xpu"
self._test_perf(
model=fxt_model,
dataset=fxt_dataset,
Expand Down
2 changes: 1 addition & 1 deletion tests/perf/test_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def test_perf(
fxt_dataset: Benchmark.Dataset,
fxt_benchmark: Benchmark,
):
fxt_benchmark.accelerator = "gpu"
fxt_benchmark.accelerator = "xpu"
self._test_perf(
model=fxt_model,
dataset=fxt_dataset,
Expand Down
4 changes: 2 additions & 2 deletions tests/perf/test_instance_segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def test_perf(
fxt_dataset: Benchmark.Dataset,
fxt_benchmark: Benchmark,
):
fxt_benchmark.accelerator = "gpu"
fxt_benchmark.accelerator = "xpu"
self._test_perf(
model=fxt_model,
dataset=fxt_dataset,
Expand Down Expand Up @@ -183,7 +183,7 @@ def test_perf(
fxt_dataset: Benchmark.Dataset,
fxt_benchmark: Benchmark,
):
fxt_benchmark.accelerator = "gpu"
fxt_benchmark.accelerator = "xpu"
self._test_perf(
model=fxt_model,
dataset=fxt_dataset,
Expand Down

0 comments on commit 9e64563

Please sign in to comment.