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

has(::TargetIterator, name::String) deprecation warning #271

Closed
CarloLucibello opened this issue Jul 5, 2020 · 2 comments
Closed

has(::TargetIterator, name::String) deprecation warning #271

CarloLucibello opened this issue Jul 5, 2020 · 2 comments

Comments

@CarloLucibello
Copy link
Contributor

On Flux master, after moving to CUDA.jl, I get the following warning when using Flux:

using Flux
┌ Warning: key`has(::TargetIterator, name::String)` is deprecated, use `Target(; name = name) !== nothing` instead.
│   caller = llvm_compat(::VersionNumber) at compatibility.jl:181
└ @ CUDA ~/.julia/packages/CUDA/42B9G/deps/compatibility.jl:181

This doesn't happen when only using CUDA, but I can't trace the origin of this warning in Flux's code.

@CarloLucibello CarloLucibello added the bug Something isn't working label Jul 5, 2020
@maleadt maleadt removed the bug Something isn't working label Jul 5, 2020
@maleadt
Copy link
Member

maleadt commented Jul 5, 2020

Depwarns aren't issues... Besides, this is "fixed" on master already. The warning will be gone in the next version.

@maleadt maleadt closed this as completed Jul 5, 2020
@maleadt
Copy link
Member

maleadt commented Jul 7, 2020

@CarloLucibello This should be now be available in a tagged release, v1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants