We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The MLX implementation
Linux
CPU
Hi, I am running the following command on a Mac laptop and got the following error. Searched for it but can't find any related issues.
% python -m moshi_mlx.local_web [Info] [SERVER] loading text tokenizer /Users/***/.cache/huggingface/hub/models--kyutai--moshiko-mlx-bf16/snapshots/a31ebad976783a3ea356d6beb8b8e826d2d45a68/tokenizer_spm_32k_3.model [Info] [SERVER] loading weights /Users/***//.cache/huggingface/hub/models--kyutai--moshiko-mlx-bf16/snapshots/a31ebad976783a3ea356d6beb8b8e826d2d45a68/model.safetensors [Info] [SERVER] weights loaded Process Process-2: Traceback (most recent call last): File "/Users/***//miniconda3/envs/moshi/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/Users/***//miniconda3/envs/moshi/lib/python3.12/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/***//miniconda3/envs/moshi/lib/python3.12/site-packages/moshi_mlx/local_web.py", line 132, in model_server model.warmup() TypeError: Lm.warmup() missing 1 required positional argument: 'ct'
As above
Fill in the following information on your system.
If the backend impacted is PyTorch:
python -c 'import torch; print(torch.version.cuda)'
If the backend is MLX:
The text was updated successfully, but these errors were encountered:
Python version is 3.12.9.
Sorry, something went wrong.
same issue
@hzeng-otterai It turns out they forgot to set the default value of ct to None. This has been fixed in the code now.
ct
None
moshi/moshi_mlx/moshi_mlx/models/lm.py
Lines 304 to 311 in fcc02ca
You can uninstall the current version and use the following command to install the latest version:
pip install -U -e "git+https://[email protected]/kyutai-labs/moshi.git#egg=moshi_mlx&subdirectory=moshi_mlx"
No branches or pull requests
Backend impacted
The MLX implementation
Operating system
Linux
Hardware
CPU
Description
Hi, I am running the following command on a Mac laptop and got the following error. Searched for it but can't find any related issues.
Extra information
As above
Environment
Fill in the following information on your system.
If the backend impacted is PyTorch:
python -c 'import torch; print(torch.version.cuda)'
):If the backend is MLX:
The text was updated successfully, but these errors were encountered: