Skip to content

Commit

Permalink
new concurrency field
Browse files Browse the repository at this point in the history
  • Loading branch information
technillogue authored and yorickvP committed May 18, 2024
1 parent 0a0472d commit 6be311d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions modules/cog-interface.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,17 @@ in
The pointer to the train function in your code, which defines how your model can be trained.
'';
};
concurrency = mkOption {
type = types.int;
default = 1;
description = "Allowed concurrency";
concurrency = {
max = mkOption {
type = types.int;
default = 1;
description = "Allowed concurrency";
};
default_target = mkOption {
type = types.int;
default = 1;
description = "Target concurrency";
};
};
};
options.cognix = with lib; {
Expand Down

0 comments on commit 6be311d

Please sign in to comment.