You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+41
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,47 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [Unreleased]
8
8
9
+
## [0.4.0]
10
+
11
+
### Changed
12
+
13
+
14
+
```
15
+
Usage: hugie endpoint create [OPTIONS] [DATA]
16
+
17
+
Create an endpoint
18
+
19
+
Args: data (str): Path to JSON data to create the endpoint
20
+
21
+
Arguments:
22
+
[DATA] Path JSON data to create the endpoint
23
+
24
+
Options:
25
+
--account-id TEXT ID of the account (for private endpoints)
26
+
--name TEXT Name of the endpoint [default: hf-endpoint]
27
+
--type TEXT Type of endpoint, one of ['public', 'protected',
28
+
'private']
29
+
--accelerator TEXT Accelerator to use. One of ['CPU','GPU'] [default:
30
+
cpu]
31
+
--instance-type TEXT [default: c6i]
32
+
--instance-size TEXT [default: small]
33
+
--min-replica INTEGER Minimum number of replicas [default: 1]
34
+
--max-replica INTEGER Maximum number of replicas [default: 1]
35
+
--framework TEXT Framework to use [default: custom]
36
+
--repository TEXT Name of the hf model repository [default: t5-small]
37
+
--revision TEXT Revision of the hf model repository [default: main]
38
+
--task TEXT Task of the model [default: text-generation]
39
+
--image TEXT Image to use from huggingface or tgi [default:
40
+
huggingface]
41
+
--vendor TEXT Vendor to use. One of ['aws','gcp'] [default: aws]
42
+
--region TEXT Vendor specific region, e.g. 'us-east-1' [default:
43
+
us-east-1]
44
+
--json Prints the full output in JSON.
45
+
--help Show this message and exit.
46
+
```
47
+
48
+
`hugie endpoint create` now received params with all the fields of the endpoint configuration file. This means you can easily deploy an endpoint by simply changing only the params that are neccesary away from the default
0 commit comments