Skip to content

Commit

Permalink
ensure cupy is an optional test dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang committed Dec 8, 2024
1 parent 3faf8a3 commit e35706a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cuda_core/tests/example_tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import os
import sys

import cupy as cp
import pytest


Expand Down Expand Up @@ -53,4 +52,3 @@ def run_example(samples_path, filename, env=None):
sys.argv = old_argv
# further reduce the memory watermark
gc.collect()
cp.get_default_memory_pool().free_all_blocks()

0 comments on commit e35706a

Please sign in to comment.