Skip to content

Commit

Permalink
[HOPSWORKS-2359] Always show GPU configuration fields for Jobs and Ju…
Browse files Browse the repository at this point in the history
…pyter (#817)
  • Loading branch information
robzor92 authored Feb 11, 2021
1 parent f71aa3c commit 8f64925
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hopsworks-web/yo/app/views/jupyter/experimentConfig.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
-->
<form class="form-horizontal">
<div ng-include="'views/jupyter/commonConfig.html'"></div>
<div ng-if="clusterUtilCtrl.allocatedGPUs !== 0 || clusterUtilCtrl.availableGPUs !== 0">
<div>
<div class="form-group" ng-if="sparkConfigCtrl.jobConfig.experimentType === 'EXPERIMENT'">
<label class="control-label col-sm-3" for="num-gpus" uib-tooltip='Number of GPUs to allocate for the experiment'>Number of GPUs: </label>
<div class="col-sm-6">
Expand Down
2 changes: 1 addition & 1 deletion hopsworks-web/yo/app/views/pythonJobConfig.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</select>
</div>
</div>
<div class="form-group" ng-show="newJobCtrl.hasDockerGpus && newJobCtrl.maxDockerGpus > 0">
<div class="form-group" ng-show="newJobCtrl.hasDockerGpus">
<label class="control-label col-sm-5" for="gpus" uib-tooltip="GPUs to allocate for this Job">GPUs:</label>
<div class="col-sm-2">
<select class="form-control" id="gpus" ng-model="newJobCtrl.runConfig.gpus" required>
Expand Down

0 comments on commit 8f64925

Please sign in to comment.