-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
This used to work for me but doesn't any longer. What's strange is that tests successfully pass locally for me, and I believe saving artifacts is in the tests.
Following the instructions in the README.md:
using MLJ, MLFlowClient
X, y = make_moons()
model = ConstantClassifier()
mach = machine(model, X, y) |> fit!
logger = MLJFlow.Logger("http://127.0.0.1:5000/api")
run = MLJ.save(logger, mach)
service = MLJFlow.service(logger)
artifacts = MLFlowClient.listartifacts(service, run)
@assert !isempty(artifacts)
# ERROR: AssertionError: !(isempty(artifacts))
# Stacktrace:
# [1] top-level scope
# @ REPL[27]:1
# julia> versioninfo()
# Julia Version 1.10.3
# Commit 0b4590a5507 (2024-04-30 10:59 UTC)
# Build Info:
# Official https://julialang.org/ release
# Platform Info:
# OS: macOS (x86_64-apple-darwin22.4.0)
# CPU: 12 × Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
# WORD_SIZE: 64
# LIBM: libopenlibm
# LLVM: libLLVM-15.0.7 (ORCJIT, skylake)
# Threads: 12 default, 0 interactive, 6 GC (on 12 virtual cores)
# Environment:
# JULIA_LTS_PATH = /Applications/Julia-1.6.app/Contents/Resources/julia/bin/julia
# JULIA_PATH = /Applications/Julia-1.10.app/Contents/Resources/julia/bin/julia
# JULIA_EGLOT_PATH = /Applications/Julia-1.7.app/Contents/Resources/julia/bin/julia
# JULIA_NUM_THREADS = 12
# JULIA_NIGHTLY_PATH = /Applications/Julia-1.10.app/Contents/Resources/julia/bin/julia
# (jl_I6VBrN) pkg> st
# Status `/private/var/folders/4n/gvbmlhdc8xj973001s6vdyw00000gq/T/jl_I6VBrN/Project.toml`
# [64a0f543] MLFlowClient v0.5.1
# [add582a8] MLJ v0.20.5
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working