Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 0713184

Browse files
authored
Add advice for avoiding the unable to open shared memory object error
Closes #158
1 parent 709a07e commit 0713184

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ sudo apt install libgl1-mesa-glx # For optical flow
4242

4343
A (probably older) version is also available through `pip install nowcasting-dataset`
4444

45+
To prevent PyTorch failing with an error like `RuntimeError: unable to open shared memory object </torch_2276740_2849291446> in read-write mode`, edit `/etc/security/limits.conf` as root and add this line: `* soft nofile 512000` then log out and log back in again (see [this issue](https://github.com/openclimatefix/nowcasting_dataset/issues/158) for more details).
46+
4547
## pip
4648
You can install a local version with `pip install -e .`.
4749
If you want to also install [PVLive](https://github.com/SheffieldSolar/PV_Live-API) then use `pip install git+https://github.com/SheffieldSolar/PV_Live-API

0 commit comments

Comments
 (0)