Skip to content

Conversation

BenZickel
Copy link
Contributor

This fixes failures in testing of examples/contrib/mue/FactorMuE.py and examples/contrib/mue/ProfileHMM.py as torch._utils._accumulate was removed in PyTorch 2.3.

@BenZickel BenZickel changed the title Replace torch._utils._accumulate with newly added pyro.util._accumulate. Replace torch._utils._accumulate with numpy.cumsum. May 3, 2024
@fritzo fritzo merged commit ca36025 into pyro-ppl:dev May 3, 2024
@martinjankowiak
Copy link
Collaborator

@BenZickel thanks! are you aware of any other tests/code that is broken in 2.3?

@BenZickel
Copy link
Contributor Author

@martinjankowiak, I am not aware of any other tests/code that is broken with PyTorch 2.3. The tests mentioned in this PR are the only ones that failed with PyTorch 2.3.

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

Successfully merging this pull request may close these issues.

3 participants