occlum/demos/pytorch/distributed/pytorch.yaml

41 lines
857 B
YAML

includes:
- base.yaml
targets:
- target: /bin
createlinks:
- src: /opt/python-occlum/bin/python3
linkname: python3
copy:
- files:
- /opt/occlum/toolchains/busybox/glibc/busybox
# python packages
- target: /opt
copy:
- dirs:
- ../python-occlum
# python code
- target: /
copy:
- files:
- ../mnist.py
- target: /opt/occlum/glibc/lib
copy:
- files:
- /opt/occlum/glibc/lib/libnss_files.so.2
- /opt/occlum/glibc/lib/libnss_dns.so.2
- /opt/occlum/glibc/lib/libresolv.so.2
# etc files
- target: /etc
copy:
- dirs:
- /etc/ssl
- files:
- /etc/nsswitch.conf
# CA files
- target: /ppml/certs/
copy:
- files:
- ../myCA.pem
- ../test.key
- ../test.crt