Skip to content
Snippets Groups Projects
Commit 22268919 authored by Youngsu Kim's avatar Youngsu Kim
Browse files

test spawn

parent 02107665
No related branches found
No related tags found
1 merge request!2Update login, page, spawn_pending
{% extends "templates/page.html" %} {% extends "templates/page.html" %}
{% set extra_resources = {'n_gpus' : 3} %} {% set extra_resources = {'n_gpus' : 3} %}
extra_resources.update = ({'n_gpus' : 2})
extra_resources.update = {'n_gpus' : 2} \ No newline at end of file
\ No newline at end of file
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
{% block heading %} {% block heading %}
<p>Number of GPUs: {{ extra_resources.n_gpus }}</p> <p>Number of GPUs: {{ extra_resources.n_gpus }}</p>
<label for="gpus">GPUs</label> <label for="gpus">GPUs</label>
<input class="form-control input-lg" type="range" name="gpus" value="{{ n_gpus }}" min="0" max="4" oninput="this.nextElementSibling.value = this.value"/> <input class="form-control input-lg" type="range" name="gpus" value="{{ extra_resources.n_gpus }}" min="0" max="4" oninput="this.nextElementSibling.value = this.value"/>
<output>{{ n_gpus }}</output> <output>{{ n_gpus }}</output>
<br/> <br/>
<label for="cores">CPUS</label> <label for="cores">CPUS</label>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment