jbilcke-hf HF staff commited on
Commit
965aa59
·
verified ·
1 Parent(s): 92aeb25

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -0
README.md CHANGED
@@ -15,6 +15,31 @@ If you want to know how to use it once you've deployed it, please refer to this
15
 
16
  https://huggingface.co/jbilcke-hf/LTX-Video-for-InferenceEndpoints/blob/main/example.py
17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  ## Credits
19
 
20
  For more information about this model, please see the [original HF repository here](https://huggingface.co/Lightricks/LTX-Video/).
 
15
 
16
  https://huggingface.co/jbilcke-hf/LTX-Video-for-InferenceEndpoints/blob/main/example.py
17
 
18
+ ## Why?
19
+
20
+ ## Setup on Hugging Face Inference Endpoints
21
+
22
+ ### Pick a large machine
23
+
24
+ It is recommended to use at least a NVIDIA L40S with 48 Gb of VRAM.
25
+
26
+ ### Downloads all assets
27
+
28
+ Make sure to select "Download everything" when selecting the model.
29
+
30
+ Otherwise some files ending in `.pth` won't be downloaded.
31
+
32
+ ### Select Text-to-Video or Image-to-Video
33
+
34
+ By default the handler will do Text-to-Video.
35
+
36
+ To do Image-Text-To-Video, you need to set the environment variable `SUPPORT_INPUT_IMAGE_PROMPT` to a truish value (eg `True`).
37
+
38
+ It is possible to support both pipelines at the same time of you modify the `handler.py`(I did that in the past).
39
+
40
+ If you keep both pipelines active this will consume more memory.
41
+
42
+
43
  ## Credits
44
 
45
  For more information about this model, please see the [original HF repository here](https://huggingface.co/Lightricks/LTX-Video/).