@punks/backend-entity-manager 0.0.293 → 0.0.295
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +9 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/platforms/nest/plugins/jobs/aws-batch/manager/types.d.ts +1 -0
- package/dist/cjs/types/platforms/nest/plugins/jobs/aws-batch/models/index.d.ts +1 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/platforms/nest/plugins/jobs/aws-batch/manager/types.d.ts +1 -0
- package/dist/esm/types/platforms/nest/plugins/jobs/aws-batch/models/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -40084,6 +40084,14 @@ let AwsBatchService = AwsBatchService_1 = class AwsBatchService {
|
|
|
40084
40084
|
type: ResourceType.VCPU,
|
|
40085
40085
|
value: definition.vcpu.toString(),
|
|
40086
40086
|
},
|
|
40087
|
+
...(definition.gpuMemory
|
|
40088
|
+
? [
|
|
40089
|
+
{
|
|
40090
|
+
type: ResourceType.GPU,
|
|
40091
|
+
value: definition.gpuMemory.toString(),
|
|
40092
|
+
},
|
|
40093
|
+
]
|
|
40094
|
+
: []),
|
|
40087
40095
|
],
|
|
40088
40096
|
networkConfiguration: {
|
|
40089
40097
|
assignPublicIp: AssignPublicIp.ENABLED,
|
|
@@ -40192,6 +40200,7 @@ let AwsJobsProvider = class AwsJobsProvider {
|
|
|
40192
40200
|
image: awsInfraParams.dockerImage,
|
|
40193
40201
|
jobUid: definition.uid,
|
|
40194
40202
|
memory: awsInfraParams.memory,
|
|
40203
|
+
gpuMemory: awsInfraParams.gpuMemory,
|
|
40195
40204
|
vcpu: awsInfraParams.vcpu,
|
|
40196
40205
|
defaultCommand: awsInvocationParams.startCommand,
|
|
40197
40206
|
});
|