Skip to content

Error on DDM model for pytorch #399

@pgleeson

Description

@pgleeson

@davidt0x The pytorch_ddm.py model is failing for some reason, but only on ubuntu (it hasn't been changed recently though). See e.g. https://github.com/ModECI/MDF/actions/runs/4295791247/jobs/7486678614

FAILED tests/test_examples.py::test_example[additional_args0-examples/PyTorch/pytorch_ddm.py] - AttributeError: 'torch._C.BoolType' object has no attribute 'getElementType'

Strangely though, the tests when run with python -m pytest -v -m "pytorch" tests/ pass on my machine, but

 python pytorch_ddm.py 

run straight fails with a similar error.
Could you look into it?

Metadata

Metadata

Assignees

Labels

PyTorchbugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions