adjust onnx

This commit is contained in:
Pete Matsyburka committed 2026-01-07 14:50:27 +02:00
1 parent 4375459856
commit 40f8093e00
1 file changed
+2 -2
+2 -2
View File
@@ -509,10 +509,10 @@ module Templates
def model
@model ||= OnnxRuntime::Model.new(
MODEL_PATH.to_s,
inter_op_num_threads: CPU_THREADS,
inter_op_num_threads: 1,
intra_op_num_threads: CPU_THREADS,
enable_mem_pattern: false,
enable_cpu_mem_arena: false,
enable_cpu_mem_arena: Docuseal.multitenant? || Rails.env.development?,
providers: ['CPUExecutionProvider']
)
end