ROCm / AMDMIGraphX

AMD's graph optimization engine.
https://rocm.docs.amd.com/projects/AMDMIGraphX/en/latest/
MIT License
182 stars 84 forks source link

Segmentation fault - MobileNetV2 #3355

Closed CharlieL7 closed 2 weeks ago

CharlieL7 commented 1 month ago
CharlieL7 commented 1 month ago

The failing commit is from #3299 @umangyadav @pfultz2

umangyadav commented 1 month ago

@CharlieL7 can you provide reproduction steps and also have you build it with debug build ?

CharlieL7 commented 1 month ago

@CharlieL7 can you provide reproduction steps and also have you build it with debug build ?

Let me try to get a more minimal example using the driver instead of TorchMIGraphX

CharlieL7 commented 1 month ago

MobileNetV2.zip Ran it with driver in debug, here's the output:

Running [ MIGraphX Version: 2.11.0. ]: bin/driver run /codes/onnx_models/MobileNetV2.onnx
Compiling ...
Reading: /codes/onnx_models/MobileNetV2.onnx
driver: /codes/3_AMDMIGraphX/src/pass_manager.cpp:131: virtual void migraphx::module_pm::run_pass(const pass &): Assertion `mod->validate() == mod->end()' failed.
Aborted (core dumped)
umangyadav commented 1 month ago

I diagnosed the issue. Will work on fix on monday.

umangyadav commented 1 month ago

this is same issue as this one #3306

causten commented 2 weeks ago

@CharlieL7 is this considered done then?