File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,5 +21,6 @@ RUN make all
2121FROM $BASE_IMAGE
2222ENV LD_LIBRARY_PATH=/usr/local/Ascend/driver/lib64:/usr/local/Ascend/driver/lib64/driver:/usr/local/Ascend/driver/lib64/common
2323COPY --from=build /build/ascend-device-plugin /usr/local/bin/ascend-device-plugin
24+ COPY ./lib/hami-vnpu-core/ /usr/local/hami-vnpu-core-assets/
2425
2526ENTRYPOINT ["ascend-device-plugin" ]
Original file line number Diff line number Diff line change 8181 mountPath : /var/log/mindx-dl/devicePlugin
8282 - name : tmp
8383 mountPath : /tmp
84+ - mountPath : /usr/local/hami-shared-region
85+ name : hami-shared-region
86+ - mountPath : /usr/local/hami-vnpu-core
87+ name : hami-vnpu-core
8488 - name : ascend-config
8589 mountPath : /device-config.yaml
8690 subPath : device-config.yaml
@@ -107,6 +111,14 @@ spec:
107111 - name : tmp
108112 hostPath :
109113 path : /tmp
114+ - name : hami-shared-region
115+ hostPath :
116+ path : /usr/local/hami-shared-region
117+ type : DirectoryOrCreate
118+ - name : hami-vnpu-core
119+ hostPath :
120+ path : /usr/local/hami-vnpu-core
121+ type : DirectoryOrCreate
110122 - name : ascend-config
111123 configMap :
112124 name : hami-scheduler-device
Original file line number Diff line number Diff line change 1- /usr/local/ vnpu/libvnpu.so
1+ /vnpu/libvnpu.so
You can’t perform that action at this time.
0 commit comments