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
For simplicity, please refer to the our [Docker](https://hub.docker.com/repository/docker/ottovonxu/slide) image with all environments and a dataset installed [Amazon-670K](https://drive.google.com/open?id=0B3lPMIHmG6vGdUJwRzltS1dvUVk). To replicate the experiment, please type ```docker pull ottovonxu/slide:v3```
31
+
### Dependencies
32
32
33
-
Firstly, [CNPY](https://github.com/rogersce/cnpy) package needs to be installed.
33
+
- CMake v3.0 and above
34
+
- C++11 Compliant compiler
35
+
- Linux: Ubuntu 16.04 and newer
36
+
- Transparent Huge Pages must be enabled.
37
+
- SLIDE requires approximately 900 2MB pages, and 10 1GB pages: ([Instructions](https://wiki.debian.org/Hugepages))
34
38
35
-
Additionally, Transparent Huge Pages must be enabled. SLIDE requires approximately 900 2MB pages, and 10 1GB pages.
39
+
### Notes:
36
40
41
+
- For simplicity, please refer to the our [Docker](https://hub.docker.com/repository/docker/ottovonxu/slide) image with all environments installed. To replicate the experiment without setting Hugepages, please download [Amazon-670K](https://drive.google.com/open?id=0B3lPMIHmG6vGdUJwRzltS1dvUVk) in path ```/home/code/HashingDeepLearning/dataset/Amazon```
37
42
38
-
Please see the [Instructions](https://wiki.debian.org/Hugepages)to enable Hugepages on Ubuntu.
43
+
- Also, note that only Skylake or newer architectures support Hugepages. For older Haswell processors, we need to remove the flag `-mavx512f` from the `OPT_FLAGS` line in Makefile. You can also revert to the commit `2d10d46b5f6f1eda5d19f27038a596446fc17cee` to ignore the HugePages optimization and still use SLIDE (which could lead to a 30% slower performance).
39
44
40
-
Also, note that only Skylake or newer architectures support Hugepages. For older Haswell processors, we need to remove the flag `-mavx512f` from the `OPT_FLAGS` line in Makefile. You can also revert to the commit `2d10d46b5f6f1eda5d19f27038a596446fc17cee` to ignore the HugePages optmization and still use SLIDE (which could lead to a 30% slower performance).
45
+
- This version builds all dependencies (which currently are [ZLIB](https://github.com/madler/zlib/tree/v1.2.11)and [CNPY](https://github.com/sarthakpati/cnpy)).
41
46
47
+
### Commands
42
48
49
+
Change the paths in ```./SLIDE/Config_amz.csv``` appropriately.
43
50
44
-
Run
45
-
46
-
```make```
47
-
48
-
```./runme Config_amz.csv```
49
-
50
-
Note that `Makefile` needs to be modified based on the CNPY path. Also the `trainData, testData, logFile` in Config_amz.csv needs to be changed accordingly too.
0 commit comments