Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Change Log

## Release 1.5.3 (TBD)
## Release 1.5.3 (1/25/14)

### Added

- Expose cuda selection when creating a pod.
- Expose `flashboot` when creating a new endpoint.
- Expose bucket name for rp_upload.
- Exposed `containerRegistryAuthId` for template creation.

Expand Down
2 changes: 1 addition & 1 deletion examples/api/create_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
gpu_ids="AMPERE_16",
workers_min=0,
workers_max=1,
flash_boot=True
flashboot=True
)

print(new_endpoint)
Expand Down
4 changes: 2 additions & 2 deletions runpod/api/ctl_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def create_endpoint(
name: str, template_id: str, gpu_ids: str = "AMPERE_16",
network_volume_id: str = None, locations: str = None,
idle_timeout: int = 5, scaler_type: str = "QUEUE_DELAY", scaler_value: int = 4,
workers_min: int = 0, workers_max: int = 3, flash_boot=False
workers_min: int = 0, workers_max: int = 3, flashboot=False
):
'''
Create an endpoint
Expand All @@ -274,7 +274,7 @@ def create_endpoint(
name, template_id, gpu_ids,
network_volume_id, locations,
idle_timeout, scaler_type, scaler_value,
workers_min, workers_max, flash_boot
workers_min, workers_max, flashboot
)
)

Expand Down
4 changes: 2 additions & 2 deletions runpod/api/mutations/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ def generate_endpoint_mutation(
name: str, template_id: str, gpu_ids: str = "AMPERE_16",
network_volume_id: str = None, locations: str = None,
idle_timeout: int = 5, scaler_type: str = "QUEUE_DELAY", scaler_value: int = 4,
workers_min: int = 0, workers_max: int = 3, flash_boot=False
workers_min: int = 0, workers_max: int = 3, flashboot=False
):
""" Generate a string for a GraphQL mutation to create a new endpoint. """
input_fields = []

# ------------------------------ Required Fields ----------------------------- #
if flash_boot:
if flashboot:
name = name + "-fb"

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