Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused cuDF imports #4873

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion python/cuml/cluster/dbscan.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# distutils: language = c++

import ctypes
import cudf
import numpy as np
import cupy as cp

Expand Down
1 change: 0 additions & 1 deletion python/cuml/cluster/kmeans.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# distutils: language = c++

import ctypes
import cudf
import numpy as np
import rmm
import warnings
Expand Down
1 change: 0 additions & 1 deletion python/cuml/cluster/kmeans_mg.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# distutils: language = c++

import ctypes
import cudf
import numpy as np
import warnings

Expand Down
1 change: 0 additions & 1 deletion python/cuml/decomposition/base_mg.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@


import ctypes
import cudf
import numpy as np

import rmm
Expand Down
1 change: 0 additions & 1 deletion python/cuml/decomposition/pca.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# distutils: language = c++

import ctypes
import cudf
import numpy as np
import cupy as cp
import cupyx
Expand Down
1 change: 0 additions & 1 deletion python/cuml/decomposition/pca_mg.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@


import ctypes
import cudf
import numpy as np
from enum import IntEnum

Expand Down
1 change: 0 additions & 1 deletion python/cuml/decomposition/tsvd.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# distutils: language = c++

import ctypes
import cudf
import numpy as np

from enum import IntEnum
Expand Down
1 change: 0 additions & 1 deletion python/cuml/decomposition/tsvd_mg.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# distutils: language = c++

import ctypes
import cudf
import numpy as np

import rmm
Expand Down
1 change: 0 additions & 1 deletion python/cuml/experimental/linear_model/lars.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
# cython: language_level = 3

import ctypes
import cudf
import numpy as np
import cupy as cp
import warnings
Expand Down
1 change: 0 additions & 1 deletion python/cuml/fil/fil.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# distutils: language = c++

import copy
import cudf
import ctypes
import math
import numpy as np
Expand Down
1 change: 0 additions & 1 deletion python/cuml/linear_model/base.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# distutils: language = c++

import ctypes
import cudf
import cuml.internals
import numpy as np
import warnings
Expand Down
1 change: 0 additions & 1 deletion python/cuml/linear_model/base_mg.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@


import ctypes
import cudf
import cuml.common.opg_data_utils_mg as opg
import numpy as np
import rmm
Expand Down
1 change: 0 additions & 1 deletion python/cuml/linear_model/linear_regression.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# distutils: language = c++

import ctypes
import cudf
import numpy as np
import warnings

Expand Down
1 change: 0 additions & 1 deletion python/cuml/linear_model/linear_regression_mg.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# distutils: language = c++

import ctypes
import cudf
import cuml.common.opg_data_utils_mg as opg
import numpy as np
import rmm
Expand Down
1 change: 0 additions & 1 deletion python/cuml/linear_model/ridge.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# distutils: language = c++

import ctypes
import cudf
import numpy as np
from collections import defaultdict
from numba import cuda
Expand Down
1 change: 0 additions & 1 deletion python/cuml/linear_model/ridge_mg.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# distutils: language = c++

import ctypes
import cudf
import numpy as np

import rmm
Expand Down
1 change: 0 additions & 1 deletion python/cuml/manifold/t_sne.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
# cython: boundscheck = False
# cython: wraparound = False

import cudf
import ctypes
import numpy as np
import inspect
Expand Down
1 change: 0 additions & 1 deletion python/cuml/manifold/umap.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# distutils: language = c++

import typing
import cudf
import ctypes
import numpy as np
import pandas as pd
Expand Down
1 change: 0 additions & 1 deletion python/cuml/metrics/accuracy.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import numpy as np

from libc.stdint cimport uintptr_t

import cudf

import cuml.internals

Expand Down
1 change: 0 additions & 1 deletion python/cuml/metrics/trustworthiness.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

# distutils: language = c++

import cudf
import numpy as np
import warnings

Expand Down
1 change: 0 additions & 1 deletion python/cuml/neighbors/kneighbors_classifier.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ from cuml.common.mixins import FMajorInputTagMixin
import numpy as np
import cupy as cp

import cudf

from cython.operator cimport dereference as deref

Expand Down
1 change: 0 additions & 1 deletion python/cuml/neighbors/kneighbors_regressor.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ from cuml.common.mixins import FMajorInputTagMixin

import numpy as np

import cudf

from cython.operator cimport dereference as deref

Expand Down
1 change: 0 additions & 1 deletion python/cuml/neighbors/nearest_neighbors.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import typing
import numpy as np
import cupy as cp
import cupyx
import cudf
import ctypes
import warnings
import math
Expand Down
1 change: 0 additions & 1 deletion python/cuml/random_projection/random_projection.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

# distutils: language = c++

import cudf
import numpy as np

from libc.stdint cimport uintptr_t
Expand Down
1 change: 0 additions & 1 deletion python/cuml/solvers/cd.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# distutils: language = c++

import ctypes
import cudf
import numpy as np

from numba import cuda
Expand Down
1 change: 0 additions & 1 deletion python/cuml/solvers/cd_mg.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# distutils: language = c++

import ctypes
import cudf
import numpy as np
import rmm

Expand Down
1 change: 0 additions & 1 deletion python/cuml/solvers/qn.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

# distutils: language = c++

import cudf
import cupy as cp
import numpy as np

Expand Down
1 change: 0 additions & 1 deletion python/cuml/solvers/sgd.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import typing

import ctypes
import cudf
import numpy as np
import cupy as cp

Expand Down
1 change: 0 additions & 1 deletion python/cuml/svm/svm_base.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# distutils: language = c++

import ctypes
import cudf
import cupy
import numpy as np

Expand Down
1 change: 0 additions & 1 deletion python/cuml/svm/svr.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# distutils: language = c++

import ctypes
import cudf
import cupy
import numpy as np

Expand Down