I can tell whether my job is using static allocation , however I want to actually change my job to use it. How do I do this?
Ensure your compute function has the configure
decorator and includes the STATIC_ALLOCATION
profile like so:
from transforms.api import Input, Output, configure, transform
@configure(profile=["STATIC_ALLOCATION"])
@transform(
...
)
def my_compute_function(...):
...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.