Skip to content

Commit

Permalink
Update model.py
Browse files Browse the repository at this point in the history
import subprocess (to shell out for nvidia-smi) and shutil (to duplicate available() functionality and test whether we're in podman or docker
  • Loading branch information
FNGarvin authored Nov 22, 2024
1 parent 3c39592 commit 7e2bb6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ramalama/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import glob
import atexit
import shlex
import subprocess
import shutil

from ramalama.common import (
default_image,
Expand Down

0 comments on commit 7e2bb6a

Please sign in to comment.