husseinnsourr's picture
Upload folder using huggingface_hub
e5e6552 verified
raw
history blame contribute delete
450 Bytes
"""
Dummy module to mock 'spaces' library from Hugging Face for local execution.
"""
def GPU(func):
"""
Decorator that does nothing locally.
In HF Spaces, this moves execution to a GPU node.
Locally, we assume the code is already running where it should.
"""
return func
def aoti_blocks_load(*args, **kwargs):
"""
Mock function for AOTI blocks loading.
Does nothing locally.
"""
pass