Skip to content

Commit

Permalink
Merge branch 'main' into jonathon/mod-3535-snapshots-capture-referenc…
Browse files Browse the repository at this point in the history
…es-to-modal-objects-which-become
  • Loading branch information
thundergolfer authored Sep 3, 2024
2 parents 5336ec7 + a1c5289 commit e15c4ad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modal/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ async def _load(self: _Function, resolver: Resolver, existing_object_id: Optiona
_experimental_concurrent_cancellations=True,
_experimental_task_templates=[
api_pb2.TaskTemplate(
priority=1,
rank=1,
resources=convert_fn_config_to_resources_config(
cpu=cpu, memory=memory, gpu=_experimental_gpu, ephemeral_disk=ephemeral_disk
),
Expand Down
5 changes: 3 additions & 2 deletions modal_proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2081,9 +2081,10 @@ message TaskStats {
}

message TaskTemplate {
uint32 priority = 1;
uint32 rank = 1;
Resources resources = 2;
uint32 concurrent_inputs = 3;
uint32 target_concurrent_inputs = 3;
uint32 max_concurrent_inputs = 4;
}

message TokenFlowCreateRequest {
Expand Down
2 changes: 1 addition & 1 deletion modal_version/_version_generated.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright Modal Labs 2024

# Note: Reset this value to -1 whenever you make a minor `0.X` release of the client.
build_number = 74 # git: 1a1dbe2
build_number = 75 # git: 7f072e6

0 comments on commit e15c4ad

Please sign in to comment.