@@ -93,7 +93,7 @@ def create_pod(
9393 min_vcpu_count : int = 1 , min_memory_in_gb : int = 1 , docker_args : str = "" ,
9494 ports : Optional [str ] = None , volume_mount_path : str = "/runpod-volume" ,
9595 env : Optional [dict ] = None , template_id : Optional [str ] = None ,
96- network_volume_id : Optional [str ] = None
96+ network_volume_id : Optional [str ] = None , allowed_cuda_versions : Optional [ list ] = None
9797) -> dict :
9898 '''
9999 Create a pod
@@ -138,7 +138,7 @@ def create_pod(
138138 cloud_type , support_public_ip , start_ssh ,
139139 data_center_id , country_code , gpu_count ,
140140 volume_in_gb , container_disk_in_gb , min_vcpu_count , min_memory_in_gb , docker_args ,
141- ports , volume_mount_path , env , template_id , network_volume_id )
141+ ports , volume_mount_path , env , template_id , network_volume_id , allowed_cuda_versions )
142142 )
143143
144144 cleaned_response = raw_response ["data" ]["podFindAndDeployOnDemand" ]
@@ -249,7 +249,7 @@ def create_endpoint(
249249 name : str , template_id : str , gpu_ids : str = "AMPERE_16" ,
250250 network_volume_id : str = None , locations : str = None ,
251251 idle_timeout : int = 5 , scaler_type : str = "QUEUE_DELAY" , scaler_value : int = 4 ,
252- workers_min : int = 0 , workers_max : int = 3
252+ workers_min : int = 0 , workers_max : int = 3 , flashboot = False
253253):
254254 '''
255255 Create an endpoint
@@ -274,7 +274,7 @@ def create_endpoint(
274274 name , template_id , gpu_ids ,
275275 network_volume_id , locations ,
276276 idle_timeout , scaler_type , scaler_value ,
277- workers_min , workers_max
277+ workers_min , workers_max , flashboot
278278 )
279279 )
280280
0 commit comments