Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Lightricks/LTX-Video-Playground
Pablosolaris
/
LTX-Video-Playground
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
86b1a7e
LTX-Video-Playground
/
xora
/
utils
/
dist_util.py
Sapir
working.
86b1a7e
6 months ago
raw
Copy download link
history
blame
220 Bytes
from
enum
import
Enum
class
AccelerationType
(
Enum
):
CPU =
"cpu"
GPU =
"gpu"
TPU =
"tpu"
MPS =
"mps"
def
execute_graph
() ->
None
:
if
_acceleration_type == AccelerationType.TPU:
xm.mark_step()