Skip to content

Commit

Permalink
Remove outdated workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
mhauru committed Sep 17, 2024
1 parent d55fc00 commit 5bbba91
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ext/DynamicPPLChainRulesCoreExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,5 @@ ChainRulesCore.@non_differentiable DynamicPPL.updategid!(
ChainRulesCore.@non_differentiable DynamicPPL.infer_nested_eltype(x)

ChainRulesCore.@non_differentiable DynamicPPL.recontiguify_ranges!(ranges)
# TODO(mhauru) A workaround for https://github.com/FluxML/Zygote.jl/issues/1523, remove when
# fixed. Note that this is some serious type piracy. Needed because VarNamedVector uses
# BitVectors.
ChainRulesCore.@non_differentiable BitVector(a, b)

end # module

0 comments on commit 5bbba91

Please sign in to comment.