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
Run the docker container by the following command:
7
+
One can also pull the [official image](https://hub.docker.com/repository/docker/tensorcircuit/tensorcircuit) from DockerHub as
8
8
9
9
```bash
10
-
sudo docker run -it --network host -e LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-11.0/targets/x86_64-linux/lib -e PYTHONPATH=/app -v "$(pwd)":/app --gpus all tc-dev
10
+
sudo docker pull tensorcircuit/tensorcircuit
11
11
```
12
12
13
-
Or directly use the script provided in this dir:
13
+
14
+
Run the docker container by the following command:
14
15
15
16
```bash
16
-
./docker_run.sh
17
+
sudo docker run -it --network host --gpus all tensorcircuit
18
+
19
+
# if one also wants mount local source code, also add args `-v "$(pwd)":/app`
20
+
21
+
# for old dockerfile with no runtime env setting
22
+
# sudo docker run -it --network host -e LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-11.0/targets/x86_64-linux/lib -e PYTHONPATH=/app -v "$(pwd)":/app --gpus all tensorcircuit
17
23
```
18
24
19
25
`export TF_CPP_MIN_LOG_LEVEL=3` maybe necessary since jax suprisingly frequently complain about ptxas version problem. And `export CUDA_VISIBLE_DEVICES=-1` if you want to test only on CPU.
0 commit comments