yr.InvokeOptions.custom_resources

yr.InvokeOptions.custom_resources#

InvokeOptions.custom_resources: Dict[str, float]#

Custom resources currently support “GPU/XX/YY” and “NPU/XX/YY”, where XX is the card model such as Ascend910B4, and YY can be count, latency, or stream.