File size: 450 Bytes
e5e6552
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

"""

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