Skip to content

Commit

Permalink
add more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mieskolainen committed Oct 11, 2024
1 parent aa42827 commit 5721d32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/notes/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Then execute the installer with ``bash filename.sh`` and finally set ``.condarc`
- defaults
Pre-installed CUDA paths (EXPERIMENTAL)
Pre-installed CUDA paths (OBSOLETE)
------------------------------------
.. code-block:: none
Expand Down
2 changes: 1 addition & 1 deletion icenet/tools/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def get_gpu_memory_map():
print(f'Error: Could not run nvidia-smi: {e}')
return None

def torch_cuda_total_memory(device):
def torch_cuda_total_memory(device='cuda:0'):
"""
Return CUDA device VRAM available in GB.
"""
Expand Down

0 comments on commit 5721d32

Please sign in to comment.