Skip to content

Commit 327339f

Browse files
committed
fix: updated change log and flashboot name
1 parent abed946 commit 327339f

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
### Added
66

7+
- Expose cuda selection when creating a pod.
8+
- Expose `flashboot` when creating a new endpoint.
79
- Expose bucket name for rp_upload.
810
- Exposed `containerRegistryAuthId` for template creation.
911

examples/api/create_endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
gpu_ids="AMPERE_16",
2222
workers_min=0,
2323
workers_max=1,
24-
flash_boot=True
24+
flashboot=True
2525
)
2626

2727
print(new_endpoint)

runpod/api/ctl_commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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, flash_boot=False
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, flash_boot
277+
workers_min, workers_max, flashboot
278278
)
279279
)
280280

runpod/api/mutations/endpoints.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ def generate_endpoint_mutation(
77
name: str, template_id: str, gpu_ids: str = "AMPERE_16",
88
network_volume_id: str = None, locations: str = None,
99
idle_timeout: int = 5, scaler_type: str = "QUEUE_DELAY", scaler_value: int = 4,
10-
workers_min: int = 0, workers_max: int = 3, flash_boot=False
10+
workers_min: int = 0, workers_max: int = 3, flashboot=False
1111
):
1212
""" Generate a string for a GraphQL mutation to create a new endpoint. """
1313
input_fields = []
1414

1515
# ------------------------------ Required Fields ----------------------------- #
16-
if flash_boot:
16+
if flashboot:
1717
name = name + "-fb"
1818

1919
input_fields.append(f'name: "{name}"')

0 commit comments

Comments
 (0)