dgrauet commited on
Commit
0c18b47
·
verified ·
1 Parent(s): 7464db4

Add the usage snippet, taken from the inference project's own README

Browse files
Files changed (1) hide show
  1. README.md +16 -2
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` (643.00 B)
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)