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
The simplest way is to use my docker image {{<hreftext="jamesnulliu/deeplearning:latest"url="https://hub.docker.com/r/jamesnulliu/deeplearning">}} which contains all the softwares you need to build the project:
8
+
The simplest way is to use my docker image [jamesnulliu/deeplearning:latest](https://hub.docker.com/r/jamesnulliu/deeplearning) which contains all the softwares you need to build the project:
9
9
10
10
```bash
11
11
docker pull jamesnulliu/deeplearning:latest
12
12
```
13
13
14
-
> 📝**NOTE**
15
-
> Check my blog: [Docker Container with Nvidia GPU Support](/blogs/docker-container-with-nvidia-gpu-support) if you need any help.
14
+
> Check my blog: [Docker Container with Nvidia GPU Support](https://jamesnulliu.github.io/blogs/docker-container-with-nvidia-gpu-support) if you need any help.
16
15
17
16
Or if you are planing to build your own environment, here are some tips:
18
17
@@ -24,19 +23,21 @@ You should install all the softwares with corresponding versions listed bellow:
24
23
- Ninja
25
24
- vcpkg, pkg-config
26
25
-[managed by conda] python >= 3.10, pytorch >= 2.0
27
-
-[managed by vcpkg] cxxopts, fmt, spdlog, proxy, gtest, yamel-cpp
26
+
-[managed by vcpkg] cxxopts, fmt, spdlog, proxy, gtest, yaml-cpp
28
27
29
28
**🎯Miniconda**
30
29
31
-
Managing python environment with miniconda is always a good choice. Check [the official website](https://docs.anaconda.com/miniconda/install/#quick-command-line-install) for an installation guide.
30
+
Managing python environments with miniconda is always a good choice. Check [the official website](https://docs.anaconda.com/miniconda/install/#quick-command-line-install) for an installation guide.
32
31
33
32
After installation, if you do not intend to install all the packages in `base` environment, create a new conda environment named `PMPP` (or whatever you like) and activate it:
34
33
35
34
```bash {linenos=true}
36
35
# python version should be larger than 3.10
37
36
conda create -n PMPP python=3.12
38
37
conda activate PMPP # Activate this environment
39
-
# In my experience, when your system gcc version is larger than 12, it is highly possible that you have to update libstd++ in conda for running the later compiled targets. All you need to do is to run this command:
38
+
# In my experience, when your system gcc version is larger than 12, it is
39
+
# highly possible that you have to update libstd++ in conda for running the
40
+
# later compiled targets. All you need to do is to run this command:
40
41
conda upgrade libstdcxx-ng -c conda-forge
41
42
```
42
43
@@ -56,7 +57,7 @@ You can find all versions of cuda on [the official website](https://developer.nv
56
57
> 📝**NOTE**
57
58
> Installing and using multiple versions of cuda is possible by managing the `PATH` and `LD_LIBRARY_PATH` environment variables on linux, and you can do this manually or refering to my methods in [this blog](/blogs/environment-variable-management).
To build and install the python package `pmpp` in current activated conda environment (pmpp operator library would be built automatically if has not been built):
87
+
To build and install the python package `pmpp` in current activated conda environment (pmpp operator library would be built automatically if it has not been built yet):
0 commit comments