You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On macOS Sonama I have one model running. This appears not to be running as a container but is working well, with Apple Silicon metal/gpu support. podman ps shows a variety of other containers (of mine) running, but no llms from ralalama
The command should not hit an exception - either it should report that no containers are running, or -- better -- would be to include any non-container llms being served. In my case that is
~ ramalama ps
Traceback (most recent call last):
File "/opt/homebrew/bin/ramalama", line 92, in <module>
main(sys.argv[1:])
~~~~^^^^^^^^^^^^^^
File "/opt/homebrew/bin/ramalama", line 67, in main
args.func(args)
~~~~~~~~~^^^^^^
File "/opt/homebrew/share/ramalama/ramalama/cli.py", line 390, in list_containers
if len(_list_containers(args)) == 0:
~~~~~~~~~~~~~~~~^^^^^^
File "/opt/homebrew/share/ramalama/ramalama/cli.py", line 380, in _list_containers
output = run_cmd(conman_args).stdout.decode("utf-8").strip()
~~~~~~~^^^^^^^^^^^^^
File "/opt/homebrew/share/ramalama/ramalama/common.py", line 96, in run_cmd
return subprocess.run(args, check=True, cwd=cwd, stdout=stdout, stderr=stderr)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 554, in run
with Popen(*popenargs, **kwargs) as process:
~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 1036, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pass_fds, cwd, env,
^^^^^^^^^^^^^^^^^^^
...<5 lines>...
gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^
start_new_session, process_group)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 1837, in _execute_child
and os.path.dirname(executable)
~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "<frozen posixpath>", line 177, in dirname
TypeError: expected str, bytes or os.PathLike object, not NoneType
The text was updated successfully, but these errors were encountered:
Sounds like a good idea to me! I guess we just grep the pids in python and display that. Wanna take a go at implementing this @planetf1 ? Thanks for the feedback!
On macOS Sonama I have one model running. This appears not to be running as a container but is working well, with Apple Silicon metal/gpu support.
podman ps
shows a variety of other containers (of mine) running, but no llms from ralalamaThe command should not hit an exception - either it should report that no containers are running, or -- better -- would be to include any non-container llms being served. In my case that is
Here's the failing command:
The text was updated successfully, but these errors were encountered: