Compare commits
1 Commits
4bd41ccf77
...
feature/ed
| Author | SHA1 | Date | |
|---|---|---|---|
| 40466e4c01 |
16
.editorconfig
Normal file
16
.editorconfig
Normal file
@@ -0,0 +1,16 @@
|
||||
# EditorConfig is awesome: https://EditorConfig.org
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
quote_type = single
|
||||
|
||||
[{Makefile,**.mk}]
|
||||
indent_style = tab
|
||||
4
.prettierrc
Normal file
4
.prettierrc
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"singleQuote": true,
|
||||
"trailingComma": "all"
|
||||
}
|
||||
@@ -4,7 +4,7 @@ metadata:
|
||||
name: immich-machine-learning
|
||||
namespace: immich
|
||||
annotations:
|
||||
reloader.stakater.com/auto: "true"
|
||||
reloader.stakater.com/auto: 'true'
|
||||
labels:
|
||||
app: immich-machine-learning
|
||||
spec:
|
||||
@@ -19,7 +19,7 @@ spec:
|
||||
automountServiceAccountToken: false
|
||||
containers:
|
||||
- name: immich-machine-learning
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v2.1.0-openvino # {"$imagepolicy": "immich:immich-machine-learning"}
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v2.1.0 # {"$imagepolicy": "immich:immich-machine-learning"}
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
limits:
|
||||
@@ -52,14 +52,6 @@ spec:
|
||||
name: immich-db-app
|
||||
key: password
|
||||
optional: false
|
||||
# Check this ENVs maybe it works also for other ML models
|
||||
- name: MACHINE_LEARNING_PRELOAD__CLIP
|
||||
value: ViT-B-32__openai
|
||||
- name: MACHINE_LEARNING_PRELOAD__FACIAL_RECOGNITION
|
||||
value: buffalo_l
|
||||
# May not be needed
|
||||
- name: MACHINE_LEARNING_EXECUTION_PROVIDERS
|
||||
value: "OpenVINOExecutionProvider,CPUExecutionProvider"
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: immich
|
||||
@@ -80,12 +72,12 @@ spec:
|
||||
securityContext:
|
||||
privileged: true # for intel quick sync
|
||||
seccompProfile:
|
||||
type: "RuntimeDefault"
|
||||
type: 'RuntimeDefault'
|
||||
volumeMounts:
|
||||
- name: immich-machine-learning
|
||||
mountPath: /cache
|
||||
nodeSelector:
|
||||
intel.feature.node.kubernetes.io/gpu: "true"
|
||||
intel.feature.node.kubernetes.io/gpu: 'true'
|
||||
volumes:
|
||||
- name: immich-machine-learning
|
||||
persistentVolumeClaim:
|
||||
|
||||
Reference in New Issue
Block a user