Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
HTConfig
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EKPCondor
HTConfig
Commits
d926c25b
Commit
d926c25b
authored
11 months ago
by
Matthias Schnepf
Browse files
Options
Downloads
Patches
Plain Diff
Add checks for RequestGPUMemory
parent
97f8630a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
0051.node_submit_values.cfg
+7
-1
7 additions, 1 deletion
0051.node_submit_values.cfg
with
7 additions
and
1 deletion
0051.node_submit_values.cfg
+
7
−
1
View file @
d926c25b
...
...
@@ -33,10 +33,16 @@ JOB_DEFAULT_TRANSFEREXECUTABLE = TRUE
# Blacklist of attributes which are used for autoclustering
REMOVE_SIGNIFICANT_ATTRIBUTES
=
GlobalJobId
# Job transformations, e.g. set defaults
JOB_TRANSFORM_NAMES
=
GPUJobs
JOB_TRANSFORM_GPUJobs
@=end
# set default to hole GPU memory by requesting 1 GPU
REQUIREMENTS
RequestGPUs
=
?= 1
DEFAULT
RequestGPUMemoryMB
TARGET.TotalSlotGPUMemoryMB
@end
\ No newline at end of file
@end
# Check job attributes during submission
SUBMIT_REQUIREMENT_NAMES
=
GPUMemoryCheck
SUBMIT_REQUIREMENT_GPUMemoryCheck
=
ifThenElse( isUndefined(RequestGPUMemoryMB), True, RequestGPUMemoryMB > 0 && RequestGPUs=?=1)
SUBMIT_REQUIREMENT_GPUMemoryCheck_REASON
=
"You request GPUMemoryMB without requesting a GPU or more than one GPU!"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment