[ML] Functional tests - Reduce DFA job model memory (#69295)
With the improvements in the model memory estimation for DFA jobs, the required memory limit could be reduced, which allows execution in a low-memory environment (like the 1GB ML node in a cloud trial).
This commit is contained in:
parent
55260dde18
commit
f8ba9290dd
|
@ -35,7 +35,7 @@ export default ({ getService }: FtrProviderContext) => {
|
|||
includes: [],
|
||||
excludes: [],
|
||||
},
|
||||
model_memory_limit: '350mb',
|
||||
model_memory_limit: '60mb',
|
||||
};
|
||||
|
||||
const testJobConfigs: Array<DeepPartial<DataFrameAnalyticsConfig>> = [
|
||||
|
|
|
@ -44,7 +44,7 @@ export default ({ getService }: FtrProviderContext) => {
|
|||
includes: [],
|
||||
excludes: [],
|
||||
},
|
||||
model_memory_limit: '350mb',
|
||||
model_memory_limit: '60mb',
|
||||
},
|
||||
{
|
||||
id: `${jobId}_2`,
|
||||
|
@ -70,7 +70,7 @@ export default ({ getService }: FtrProviderContext) => {
|
|||
includes: [],
|
||||
excludes: [],
|
||||
},
|
||||
model_memory_limit: '350mb',
|
||||
model_memory_limit: '60mb',
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
},
|
||||
dependentVariable: 'y',
|
||||
trainingPercent: '20',
|
||||
modelMemory: '200mb',
|
||||
modelMemory: '60mb',
|
||||
createIndexPattern: true,
|
||||
expected: {
|
||||
row: {
|
||||
|
|
|
@ -53,7 +53,7 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
includes: [],
|
||||
excludes: [],
|
||||
},
|
||||
model_memory_limit: '350mb',
|
||||
model_memory_limit: '60mb',
|
||||
allow_lazy_start: false,
|
||||
},
|
||||
},
|
||||
|
@ -83,7 +83,7 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
includes: [],
|
||||
excludes: [],
|
||||
},
|
||||
model_memory_limit: '55mb',
|
||||
model_memory_limit: '5mb',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -115,7 +115,7 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
includes: [],
|
||||
excludes: [],
|
||||
},
|
||||
model_memory_limit: '105mb',
|
||||
model_memory_limit: '20mb',
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
@ -34,7 +34,7 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
get destinationIndex(): string {
|
||||
return `user-${this.jobId}`;
|
||||
},
|
||||
modelMemory: '55mb',
|
||||
modelMemory: '5mb',
|
||||
createIndexPattern: true,
|
||||
expected: {
|
||||
row: {
|
||||
|
|
|
@ -36,7 +36,7 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
},
|
||||
dependentVariable: 'stab',
|
||||
trainingPercent: '20',
|
||||
modelMemory: '105mb',
|
||||
modelMemory: '20mb',
|
||||
createIndexPattern: true,
|
||||
expected: {
|
||||
row: {
|
||||
|
|
Loading…
Reference in a new issue