Wessel
Wessel
@sylvorg, yes, that's completely right, and it's one of the main challenges why this is so difficult. :( In general, signatures can depend on `T` in arbitrarily complex ways, and...
@tpapp Might the issue be that the `f(1)` and `f(-1)` are not finite? ```julia julia> function f(x::Real) A = L = 1.0 x2 = abs2(x) @show x, x2 @assert x2...
@tpapp It should be fairly simple to add a check whether the function evaluations are finite or not. I suppose that could help. :)
Hey @hodgespodge, thanks for opening an issue. :) This is a very interesting proposal! I suppose that the default value would be some kind of self-mutating object, or Plum would...
@PhilipVinc your attempt at `PromisedValue` seems very reasonable. I'm mainly worried by the logic that would have to replace to automatically replace the default value. One approach would be to...
@PhilipVinc that's awesome! I'm sorry for being slow lately. It's sometimes hard to find enough time to work on this. I'm trying to get through things in order of priority,...
@PhilipVinc, if I also import `DenyList` wherever `CollectionFilter` is imported, your example seems to run. Specifically, these additions seem to work: ``` vqs/mc/mc_state/expect_forces.py 19:from flax.core.scope import CollectionFilter, DenyList vqs/mc/mc_state/expect_forces_chunked.py 20:from...
@PhilipVinc Yes, that’s my understanding of what’s happening. I’m not 100% sure because I haven’t yet looked in detail at the logic of get_type_hints, but that is my guess.
Hey @PhilipVinc! Did you manage to make any headway with this problem? Does adding all those `from flax.core.scope import CollectionFilter, DenyList` imports everywhere help?
Whoa! 100% better late than never. Exciting! :)