Skip to content

Commit

Permalink
merge in latest
Browse files Browse the repository at this point in the history
  • Loading branch information
palp committed Aug 7, 2023
1 parent 35b2de2 commit 8b5eb37
Show file tree
Hide file tree
Showing 10 changed files with 907 additions and 883 deletions.
100 changes: 55 additions & 45 deletions src/stability_api/platform/engines/v1/engines.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions src/stability_api/platform/engines/v1/engines_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ export declare class EngineInfo extends Message<EngineInfo> {
*/
canFineTune: boolean;

/**
* Whether this Engine supports T2I Adapters
*
* @generated from field: bool is_adaptive = 9;
*/
isAdaptive: boolean;

constructor(data?: PartialMessage<EngineInfo>);

static readonly runtime: typeof proto3;
Expand Down
1 change: 1 addition & 0 deletions src/stability_api/platform/engines/v1/engines_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const EngineInfo = proto3.makeMessageType(
{ no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 7, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 8, name: "can_fine_tune", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
{ no: 9, name: "is_adaptive", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
],
);

Expand Down
24 changes: 12 additions & 12 deletions src/stability_api/platform/engines/v1/engines_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions src/stability_api/platform/engines/v1/engines_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ GPT2: EngineTokenizer
PILE: EngineTokenizer

class EngineInfo(_message.Message):
__slots__ = ["id", "owner", "ready", "type", "tokenizer", "name", "description", "can_fine_tune"]
__slots__ = ["id", "owner", "ready", "type", "tokenizer", "name", "description", "can_fine_tune", "is_adaptive"]
ID_FIELD_NUMBER: _ClassVar[int]
OWNER_FIELD_NUMBER: _ClassVar[int]
READY_FIELD_NUMBER: _ClassVar[int]
Expand All @@ -38,6 +38,7 @@ class EngineInfo(_message.Message):
NAME_FIELD_NUMBER: _ClassVar[int]
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
CAN_FINE_TUNE_FIELD_NUMBER: _ClassVar[int]
IS_ADAPTIVE_FIELD_NUMBER: _ClassVar[int]
id: str
owner: str
ready: bool
Expand All @@ -46,7 +47,8 @@ class EngineInfo(_message.Message):
name: str
description: str
can_fine_tune: bool
def __init__(self, id: _Optional[str] = ..., owner: _Optional[str] = ..., ready: bool = ..., type: _Optional[_Union[EngineType, str]] = ..., tokenizer: _Optional[_Union[EngineTokenizer, str]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., can_fine_tune: bool = ...) -> None: ...
is_adaptive: bool
def __init__(self, id: _Optional[str] = ..., owner: _Optional[str] = ..., ready: bool = ..., type: _Optional[_Union[EngineType, str]] = ..., tokenizer: _Optional[_Union[EngineTokenizer, str]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., can_fine_tune: bool = ..., is_adaptive: bool = ...) -> None: ...

class ListEnginesRequest(_message.Message):
__slots__ = []
Expand Down
Loading

0 comments on commit 8b5eb37

Please sign in to comment.