Instructions to use dgrauet/void-model-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use dgrauet/void-model-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir void-model-mlx dgrauet/void-model-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Add the usage snippet, taken from the inference project's own README
Browse files
README.md
CHANGED
|
@@ -17,7 +17,21 @@ Converted with [mlx-forge](https://github.com/dgrauet/mlx-forge).
|
|
| 17 |
|
| 18 |
## Usage
|
| 19 |
|
| 20 |
-
These weights can be used with [void-model-mlx](https://github.com/dgrauet/void-model-mlx)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
## Related Projects
|
| 23 |
|
|
@@ -30,6 +44,6 @@ These weights can be used with [void-model-mlx](https://github.com/dgrauet/void-
|
|
| 30 |
## Files
|
| 31 |
|
| 32 |
- `config.json` (376.00 B)
|
| 33 |
-
- `split_model.json` (
|
| 34 |
- `void_pass1.safetensors` (10.38 GB)
|
| 35 |
- `void_pass2.safetensors` (10.38 GB)
|
|
|
|
| 17 |
|
| 18 |
## Usage
|
| 19 |
|
| 20 |
+
These weights can be used with [void-model-mlx](https://github.com/dgrauet/void-model-mlx):
|
| 21 |
+
|
| 22 |
+
```bash
|
| 23 |
+
git clone https://github.com/dgrauet/VideoX-Fun-mlx.git
|
| 24 |
+
export VIDEOX_FUN_MLX_PATH=/path/to/VideoX-Fun-mlx
|
| 25 |
+
pip install mlx opencv-python-headless pillow numpy sentencepiece
|
| 26 |
+
|
| 27 |
+
python -m void_mlx.infer \
|
| 28 |
+
--sample sample/BigBen \
|
| 29 |
+
--pass1 weights/void_pass1.safetensors \
|
| 30 |
+
--pass2 weights/void_pass2.safetensors \
|
| 31 |
+
--base-model /path/to/CogVideoX-Fun-V1.5-5b-InP-mlx-q8 \
|
| 32 |
+
--steps 30 --max-frames 13 --height 352 --width 624 \
|
| 33 |
+
--low-ram --output result.gif
|
| 34 |
+
```
|
| 35 |
|
| 36 |
## Related Projects
|
| 37 |
|
|
|
|
| 44 |
## Files
|
| 45 |
|
| 46 |
- `config.json` (376.00 B)
|
| 47 |
+
- `split_model.json` (702.00 B)
|
| 48 |
- `void_pass1.safetensors` (10.38 GB)
|
| 49 |
- `void_pass2.safetensors` (10.38 GB)
|