Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please help me #197

Open
juexing1981 opened this issue Feb 2, 2025 · 0 comments
Open

Please help me #197

juexing1981 opened this issue Feb 2, 2025 · 0 comments

Comments

@juexing1981
Copy link

juexing1981 commented Feb 2, 2025

(mlxvlm3) aaaa@LLM ~ % python3 -m mlx_vlm.chat_ui --model mlx-community/Qwen2.5-VL-72B-Instruct-4bit
This is a beta version of the video understanding. It may not work as expected.
Fetching 18 files: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 98818.68it/s]
Fetching 18 files: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 104567.14it/s]
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/opt/anaconda3/envs/mlxvlm3/lib/python3.12/site-packages/mlx_vlm/chat_ui.py", line 26, in
model, processor = load(args.model, {"trust_remote_code": True})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/mlxvlm3/lib/python3.12/site-packages/mlx_vlm/utils.py", line 275, in load
model = apply_lora_layers(model, adapter_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/mlxvlm3/lib/python3.12/site-packages/mlx_vlm/trainer/utils.py", line 139, in apply_lora_layers
adapter_path = Path(adapter_path)
^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/mlxvlm3/lib/python3.12/pathlib.py", line 1162, in init
super().init(*args)
File "/opt/anaconda3/envs/mlxvlm3/lib/python3.12/pathlib.py", line 373, in init
raise TypeError(
TypeError: argument should be a str or an os.PathLike object where fspath returns a str, not 'dict'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant