[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:
Robert Oskamp 2020-06-17 15:23:23 +02:00 committed by GitHub
parent 55260dde18
commit f8ba9290dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View file

@ -35,7 +35,7 @@ export default ({ getService }: FtrProviderContext) => {
includes: [],
excludes: [],
},
model_memory_limit: '350mb',
model_memory_limit: '60mb',
};
const testJobConfigs: Array<DeepPartial<DataFrameAnalyticsConfig>> = [

View file

@ -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',
},
];

View file

@ -37,7 +37,7 @@ export default function ({ getService }: FtrProviderContext) {
},
dependentVariable: 'y',
trainingPercent: '20',
modelMemory: '200mb',
modelMemory: '60mb',
createIndexPattern: true,
expected: {
row: {

View file

@ -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',
},
},
];

View file

@ -34,7 +34,7 @@ export default function ({ getService }: FtrProviderContext) {
get destinationIndex(): string {
return `user-${this.jobId}`;
},
modelMemory: '55mb',
modelMemory: '5mb',
createIndexPattern: true,
expected: {
row: {

View file

@ -36,7 +36,7 @@ export default function ({ getService }: FtrProviderContext) {
},
dependentVariable: 'stab',
trainingPercent: '20',
modelMemory: '105mb',
modelMemory: '20mb',
createIndexPattern: true,
expected: {
row: {