Skip to content

Commit f9163f7

Browse files
authored
Updated default web concurrency value to be none (#492)
2 parents bf044aa + 89120cb commit f9163f7

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

ads/model/deployment/model_deployment_infrastructure.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
MODEL_DEPLOYMENT_INFRASTRUCTURE_KIND = "infrastructure"
2121

2222
DEFAULT_BANDWIDTH_MBPS = 10
23-
DEFAULT_WEB_CONCURRENCY = 10
2423
DEFAULT_REPLICA = 1
2524
DEFAULT_SHAPE_NAME = "VM.Standard.E4.Flex"
2625
DEFAULT_OCPUS = 1
@@ -219,7 +218,6 @@ def _load_default_properties(self) -> Dict:
219218
defaults[self.CONST_PROJECT_ID] = PROJECT_OCID
220219

221220
defaults[self.CONST_BANDWIDTH_MBPS] = DEFAULT_BANDWIDTH_MBPS
222-
defaults[self.CONST_WEB_CONCURRENCY] = DEFAULT_WEB_CONCURRENCY
223221
defaults[self.CONST_REPLICA] = DEFAULT_REPLICA
224222

225223
if NB_SESSION_OCID:
@@ -628,7 +626,6 @@ def init(self, **kwargs) -> "ModelDeploymentInfrastructure":
628626
.with_compartment_id(self.compartment_id or "{Provide a compartment OCID}")
629627
.with_project_id(self.project_id or "{Provide a project OCID}")
630628
.with_bandwidth_mbps(self.bandwidth_mbps or DEFAULT_BANDWIDTH_MBPS)
631-
.with_web_concurrency(self.web_concurrency or DEFAULT_WEB_CONCURRENCY)
632629
.with_replica(self.replica or DEFAULT_REPLICA)
633630
.with_shape_name(self.shape_name or DEFAULT_SHAPE_NAME)
634631
.with_shape_config_details(

docs/source/user_guide/cli/opctl/configure.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ This will prompt you to setup default ADS CLI configurations for each OCI profil
9797
project_id = oci.xxxx.<project_ocid>
9898
bandwidth_mbps = 10
9999
replica = 1
100-
web_concurrency = 10
101100
102101
[ANOTHERPROF]
103102
compartment_id = ocid1.compartment.oc1..<unique_ID>

tests/unitary/default_setup/model_deployment/test_model_deployment_v2.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ def test__load_default_properties(self, mock_from_ocid):
373373
"ocpus": 10.0,
374374
"memory_in_gbs": 36.0,
375375
},
376-
ModelDeploymentInfrastructure.CONST_WEB_CONCURRENCY: 10,
377376
ModelDeploymentInfrastructure.CONST_REPLICA: 1,
378377
}
379378

0 commit comments

Comments
 (0)