@@ -30,20 +30,37 @@ hugie endpoint create examples/development.json
30
30
31
31
Command reference:
32
32
```
33
- Usage: hugie endpoint create [OPTIONS] DATA
34
-
35
- Create an endpoint
36
- Args: data (str): Path to JSON data to create the endpoint
37
-
38
- ╭─ Arguments ──────────────────────────────────────────────────────────────────╮
39
- │ * data TEXT Path JSON data to create the endpoint [default: None] │
40
- │ [required] │
41
- ╰──────────────────────────────────────────────────────────────────────────────╯
42
- ╭─ Options ────────────────────────────────────────────────────────────────────╮
43
- │ --json Prints the full output in JSON. │
44
- │ --help Show this message and exit. │
45
- ╰──────────────────────────────────────────────────────────────────────────────╯
46
-
33
+ Usage: hugie endpoint create [OPTIONS] [DATA]
34
+
35
+ Create an endpoint
36
+
37
+ Args: data (str): Path to JSON data to create the endpoint
38
+
39
+ Arguments:
40
+ [DATA] Path JSON data to create the endpoint
41
+
42
+ Options:
43
+ --account-id TEXT ID of the account (for private endpoints)
44
+ --name TEXT Name of the endpoint [default: hf-endpoint]
45
+ --type TEXT Type of endpoint, one of ['public', 'protected',
46
+ 'private']
47
+ --accelerator TEXT Accelerator to use. One of ['CPU','GPU'] [default:
48
+ cpu]
49
+ --instance-type TEXT [default: c6i]
50
+ --instance-size TEXT [default: small]
51
+ --min-replica INTEGER Minimum number of replicas [default: 1]
52
+ --max-replica INTEGER Maximum number of replicas [default: 1]
53
+ --framework TEXT Framework to use [default: custom]
54
+ --repository TEXT Name of the hf model repository [default: t5-small]
55
+ --revision TEXT Revision of the hf model repository [default: main]
56
+ --task TEXT Task of the model [default: text-generation]
57
+ --image TEXT Image to use from huggingface or tgi [default:
58
+ huggingface]
59
+ --vendor TEXT Vendor to use. One of ['aws','gcp'] [default: aws]
60
+ --region TEXT Vendor specific region, e.g. 'us-east-1' [default:
61
+ us-east-1]
62
+ --json Prints the full output in JSON.
63
+ --help Show this message and exit.
47
64
```
48
65
49
66
## list/ls
0 commit comments