User Tools

Site Tools


techstaff:slurm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
techstaff:slurm [2018/05/04 12:32] kauffmantechstaff:slurm [2018/05/04 12:38] kauffman
Line 269: Line 269:
  
 Give the file 'f':    Give the file 'f':   
-  Depends on: +<code> 
-    ''%%pip3 install --user tensorflow-gpu%%'' +#!/usr/bin/env python3 
-    ''%%export PATH=$HOME/.local/bin:$PATH%%'' +from tensorflow.python.client import device_lib 
-  <code> +print(device_lib.list_local_devices()) 
-    #!/usr/bin/env python3 +</code>
-    from tensorflow.python.client import device_lib +
-    print(device_lib.list_local_devices()) +
-  </code>+
  
 Here we can see that no GPU was allocated to us because we did not specify the ''%%--gres%%'' option Here we can see that no GPU was allocated to us because we did not specify the ''%%--gres%%'' option
/var/lib/dokuwiki/data/pages/techstaff/slurm.txt · Last modified: 2021/01/06 16:13 by kauffman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki