-
Notifications
You must be signed in to change notification settings - Fork 6.8k
no such method => modified function args #16610
Conversation
@@ -54,7 +54,7 @@ if Sys.isunix() | |||
nvcc_path = Sys.which("nvcc") | |||
if nvcc_path ≢ nothing | |||
@info "Found nvcc: $nvcc_path" | |||
push!(CUDAPATHS, replace(nvcc_path, "bin/nvcc", "lib64")) | |||
push!(CUDAPATHS, replace(nvcc_path, "bin/nvcc" => "lib64")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, I have a PR that fixed the building issues #16125
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Then this PR can be ignored.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 ... we still can get this merged into master first.
@@ -54,7 +54,7 @@ if Sys.isunix() | |||
nvcc_path = Sys.which("nvcc") | |||
if nvcc_path ≢ nothing | |||
@info "Found nvcc: $nvcc_path" | |||
push!(CUDAPATHS, replace(nvcc_path, "bin/nvcc", "lib64")) | |||
push!(CUDAPATHS, replace(nvcc_path, "bin/nvcc" => "lib64")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 ... we still can get this merged into master first.
I accidentally hit the 'Approve" button 😂 |
The CI faliure is unrelated, but the merge button is locked because of it. |
I am no git expert and followed this tutorial. I hope I did everything right. |
ah, the test failure will be fixed by #16643. Here are steps to rebasing:
|
Thanks for the steps. I followed them. Yes, we can wait for the other patch. |
Okay, that PR (#16643) got merged. Let's try again. |
ERROR: MethodError: no method matching mapreduce(::getfield(MXNet.mx, Symbol("#apache#8072#8073")), ::typeof(+), ::Float64, ::Array{NDArray{Float32,1},1})
Co-Authored-By: Iblis Lin <iblis@hs.ntnu.edu.tw>
* no such method => modified function args ERROR: MethodError: no method matching mapreduce(::getfield(MXNet.mx, Symbol("#apache#8072#8073")), ::typeof(+), ::Float64, ::Array{NDArray{Float32,1},1}) * julia could not build package before * Update julia/src/metric.jl Co-Authored-By: Iblis Lin <iblis@hs.ntnu.edu.tw>
Description
The Julia regression example did not run due to an inappropriate call of the
mapreduce
function when usen MSE() loss.Changes
mapreduce
function to remove the error