microsoft / microxcaling

PyTorch emulation library for Microscaling (MX)-compatible data formats
MIT License
123 stars 14 forks source link

Error from test_conv.py and convolution.py to the latest version #14

Closed zks878 closed 5 months ago

zks878 commented 6 months ago

Originally, when I tested the file version from November 8th, everything was normal. However, after updating the file to the latest version (Dec 8, 2023), problems arose.

When running the pytest, "test_conv.py" displays

RuntimeError: Boolean value of Tensor with more than one value is ambiguous

The same error also occurs in the "convolution.py" layer within the model.

I copied an unmodified version of the file again, but the error still occurs. I'm wondering if anyone has encountered the same issue and how it was resolved. Thank you!

rizhao-msft commented 5 months ago

Great catch, this should be fixed in 9474171.