- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using Python 3 (OpenVINO 2021.1) in Jupyter Notebook Devcloud. Got the following error message:
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/conv.py", line 342, in conv2d_forward self.padding, self.dilation, self.groups) RuntimeError: [enforce fail at CPUAllocator.cpp:64] . DefaultCPUAllocator: can't allocate memory: you tried to allocate 52428800 bytes. Error code 12 (Cannot allocate memory)
When I run: !free -h
total used free shared buff/cache available Mem: 250G 1.7G 248G 2.1M 848M 247G Swap: 1.9G 0B 1.9G
Please advise.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @advanchip
Thank you for posting on the Intel® communities.
Regarding your inquiry, we noticed it is about Jupyter* Notebook. We have a forum for those specific products and questions so we are moving it to the Intel® DevCloud for Edge Forum so it can get answered more quickly: https://community.intel.com/t5/Intel-DevCloud-for-Edge/bd-p/devcloud-edge
Best regards,
Andrew G.
Intel Customer Support Technician
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello advanchip, it will not be possible for me to identify why the application is running out of memory, but be aware that the RAM of the dev node is shared between multiple users. The limit of memory usage per user is 6 GB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried to allocate 52MB, if the limit is 6GB per user. It should be plenty and should work.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page