You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I pass a very large value to flow.nn.AdaptiveMaxPool1d , it crashes. It says that the CPU can't allocate memory and tries to allocate a huge memory size. We believe this is a very serious bug that tries to allocate a large amount of memory and could cause a memory overflow vulnerability.
Code to reproduce bug
import oneflow as flow
flow.nn.AdaptiveMaxPool1d(9132760301568586890)(oneflow.randn([2,2,2]))
System Information
What is your OneFlow installation (pip, source, dockerhub): source
OS: Ubuntu 22.04.3 LTS
OneFlow version (run python3 -m oneflow --doctor):
Summary
When I pass a very large value to flow.nn.AdaptiveMaxPool1d , it crashes. It says that the CPU can't allocate memory and tries to allocate a huge memory size. We believe this is a very serious bug that tries to allocate a large amount of memory and could cause a memory overflow vulnerability.
Code to reproduce bug
System Information
python3 -m oneflow --doctor
):The text was updated successfully, but these errors were encountered: