Skip to content

Commit 0c37c8d

Browse files
Laure-diremyleone
andauthored
feat(inference): release of new version of inference (scaleway#3905)
Co-authored-by: Rémy Léone <[email protected]>
1 parent 9e9338c commit 0c37c8d

25 files changed

+475
-1
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Add new ACL rules for a specific deployment.
4+
5+
USAGE:
6+
scw inference acl add <deployment-id ...> [arg=value ...]
7+
8+
ARGS:
9+
deployment-id ID of the deployment to add ACL rules to
10+
[acls.{index}.ip] IP address to be allowed
11+
[acls.{index}.description] Description of the ACL rule
12+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
13+
14+
FLAGS:
15+
-h, --help help for add
16+
17+
GLOBAL FLAGS:
18+
-c, --config string The path to the config file
19+
-D, --debug Enable debug mode
20+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
21+
-p, --profile string The config profile to use
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Delete an exising ACL.
4+
5+
USAGE:
6+
scw inference acl delete <acl-id ...> [arg=value ...]
7+
8+
ARGS:
9+
acl-id ID of the ACL rule to delete
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
12+
FLAGS:
13+
-h, --help help for delete
14+
15+
GLOBAL FLAGS:
16+
-c, --config string The path to the config file
17+
-D, --debug Enable debug mode
18+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
19+
-p, --profile string The config profile to use
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
List ACLs for a specific deployment.
4+
5+
USAGE:
6+
scw inference acl list <deployment-id ...> [arg=value ...]
7+
8+
ARGS:
9+
deployment-id ID of the deployment to list ACL rules for
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
11+
12+
FLAGS:
13+
-h, --help help for list
14+
15+
GLOBAL FLAGS:
16+
-c, --config string The path to the config file
17+
-D, --debug Enable debug mode
18+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
19+
-p, --profile string The config profile to use
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Set new ACL rules for a specific deployment.
4+
5+
USAGE:
6+
scw inference acl set <deployment-id ...> [arg=value ...]
7+
8+
ARGS:
9+
deployment-id ID of the deployment to set ACL rules for
10+
[acls.{index}.ip] IP address to be allowed
11+
[acls.{index}.description] Description of the ACL rule
12+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
13+
14+
FLAGS:
15+
-h, --help help for set
16+
17+
GLOBAL FLAGS:
18+
-c, --config string The path to the config file
19+
-D, --debug Enable debug mode
20+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
21+
-p, --profile string The config profile to use
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Access Control List (ACL) management commands.
4+
5+
USAGE:
6+
scw inference acl <command>
7+
8+
AVAILABLE COMMANDS:
9+
add Add new ACLs
10+
delete Delete an exising ACL
11+
list List your ACLs
12+
set Set new ACL
13+
14+
FLAGS:
15+
-h, --help help for acl
16+
17+
GLOBAL FLAGS:
18+
-c, --config string The path to the config file
19+
-D, --debug Enable debug mode
20+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
21+
-p, --profile string The config profile to use
22+
23+
Use "scw inference acl [command] --help" for more information about a command.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Create a new inference deployment related to a specific model.
4+
5+
USAGE:
6+
scw inference deployment create [arg=value ...]
7+
8+
ARGS:
9+
name=<generated> Name of the deployment
10+
[project-id] Project ID to use. If none is passed the default project ID will be used
11+
model-name Name of the model to use
12+
[accept-eula] Accept the model's End User License Agreement (EULA).
13+
node-type Name of the node type to use
14+
[tags.{index}] List of tags to apply to the deployment
15+
[min-size] Defines the minimum size of the pool
16+
[max-size] Defines the maximum size of the pool
17+
[endpoints.{index}.is-public=false] Will configure your public endpoint if true
18+
[endpoints.{index}.private-network.private-network-id] ID of the Private Network
19+
[endpoints.{index}.disable-auth=false] Disable the authentication on the endpoint.
20+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
21+
22+
FLAGS:
23+
-h, --help help for create
24+
-w, --wait wait until the deployment is ready
25+
26+
GLOBAL FLAGS:
27+
-c, --config string The path to the config file
28+
-D, --debug Enable debug mode
29+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
30+
-p, --profile string The config profile to use
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Delete an existing inference deployment.
4+
5+
USAGE:
6+
scw inference deployment delete <deployment-id ...> [arg=value ...]
7+
8+
ARGS:
9+
deployment-id ID of the deployment to delete
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
12+
FLAGS:
13+
-h, --help help for delete
14+
-w, --wait wait until the deployment is ready
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Get the CA certificate used for the deployment of private endpoints.
4+
The CA certificate will be returned as a PEM file.
5+
6+
USAGE:
7+
scw inference deployment get-certificate [arg=value ...]
8+
9+
ARGS:
10+
deployment-id
11+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
12+
13+
FLAGS:
14+
-h, --help help for get-certificate
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Get the deployment for the given ID.
4+
5+
USAGE:
6+
scw inference deployment get <deployment-id ...> [arg=value ...]
7+
8+
ARGS:
9+
deployment-id ID of the deployment to get
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
12+
FLAGS:
13+
-h, --help help for get
14+
15+
GLOBAL FLAGS:
16+
-c, --config string The path to the config file
17+
-D, --debug Enable debug mode
18+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
19+
-p, --profile string The config profile to use
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
List all your inference deployments.
4+
5+
USAGE:
6+
scw inference deployment list [arg=value ...]
7+
8+
ARGS:
9+
[order-by] Order in which to return results (created_at_desc | created_at_asc | name_asc | name_desc)
10+
[project-id] Filter by Project ID
11+
[name] Filter by deployment name
12+
[tags.{index}] Filter by tags
13+
[organization-id] Filter by Organization ID
14+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
15+
16+
FLAGS:
17+
-h, --help help for list
18+
19+
GLOBAL FLAGS:
20+
-c, --config string The path to the config file
21+
-D, --debug Enable debug mode
22+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
23+
-p, --profile string The config profile to use

0 commit comments

Comments
 (0)