Skip to content

Commit

Permalink
bump python, cuml, cuda bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerjthomas9 committed Apr 21, 2024
1 parent db03b13 commit ad4e5a3
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
16 changes: 8 additions & 8 deletions CondaPkg.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
channels = ["rapidsai", "nvidia", "conda-forge"]

[deps]
cudf = "=23.10"
cuxfilter = "=23.10"
cucim = "=23.10"
cuspatial = "=23.10"
cugraph = "=23.10"
cuml = "=23.10"
python = ">=3.9,<3.11"
cudf = "=24.04"
cuxfilter = "=24.04"
cucim = "=24.04"
cuspatial = "=24.04"
cugraph = "=24.04"
cuml = "=24.04"
python = ">=3.9,<=3.11"

[deps.cuda-version]
channel = "conda-forge"
version = "=12.0"
version = "=12.2"
4 changes: 2 additions & 2 deletions src/CuDF/CuDF.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

module CuDF

using Dates
using Dates: Date
using PythonCall
using Lazy
using Compat
using Compat: Compat
using TableTraits
using Statistics

Expand Down
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# List of CUDA versions supported by RAPIDSAI
const supported_versions = ["11.2", "11.8", "12.0"]
const supported_versions = ["11.2", "11.8", "12.0", "12.2"]

function find_closest_supported_version(major, supported_versions)
major_versions = filter(v -> startswith(v, major), supported_versions)
Expand Down
14 changes: 7 additions & 7 deletions test/cuml.jl
Original file line number Diff line number Diff line change
Expand Up @@ -170,51 +170,51 @@ end
model = PCA()
mach = machine(model, X)
fit!(mach)
X_trans = transform(mach, X)
X_trans = MLJBase.transform(mach, X)
inverse_transform(mach, X)
end

@testset "IncrementalPCA" begin
model = IncrementalPCA()
mach = machine(model, X)
fit!(mach)
X_trans = transform(mach, X)
X_trans = MLJBase.transform(mach, X)
end

@testset "TruncatedSVD" begin
model = TruncatedSVD(; n_components=2)
mach = machine(model, X)
fit!(mach)
X_trans = transform(mach, X)
X_trans = MLJBase.transform(mach, X)
inverse_transform(mach, X)
end

@testset "UMAP" begin
model = UMAP(; n_components=2)
mach = machine(model, X)
fit!(mach)
X_trans = transform(mach, X)
X_trans = MLJBase.transform(mach, X)
end

@testset "GaussianRandomProjection" begin
model = GaussianRandomProjection(; n_components=2)
mach = machine(model, X)
fit!(mach)
X_trans = transform(mach, X)
X_trans = MLJBase.transform(mach, X)
end

@testset "SparseRandomProjection" begin
model = SparseRandomProjection(; n_components=2)
mach = machine(model, X)
fit!(mach)
X_trans = transform(mach, X)
X_trans = MLJBase.transform(mach, X)
end

@testset "TSNE" begin
model = TSNE(; n_components=2)
mach = machine(model, X)
fit!(mach)
X_trans = transform(mach, X)
X_trans = MLJBase.transform(mach, X)
end
end

Expand Down

0 comments on commit ad4e5a3

Please sign in to comment.