We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b5ef17 commit b44f768Copy full SHA for b44f768
src/fasteval.jl
@@ -372,9 +372,6 @@ function (f::FastLogDensityAt)(params::AbstractVector{<:Real})
372
# which is unnecessary. So we shortcircuit this by simply calling `_evaluate!!`
373
# directly. To preserve thread-safety we need to reproduce the ThreadSafeVarInfo logic
374
# here.
375
- # TODO(penelopeysm): This should _not_ check Threads.nthreads(). I still don't know what
376
- # it _should_ do, but this is wrong regardless.
377
- # https://github.com/TuringLang/DynamicPPL.jl/issues/1086
378
vi = if DynamicPPL.USE_THREADSAFE_EVAL[]
379
accs = map(
380
acc -> DynamicPPL.convert_eltype(float_type_with_fallback(eltype(params)), acc),
0 commit comments