Skip to content

Commit eda934a

Browse files
add diagram
1 parent 59e48d8 commit eda934a

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Diff for: examples/azure-vm/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ limitations under the License.
1616

1717
# **Getting Started With DeepSparse in an Azure VM**
1818

19+
![diagram](./azure-vm-pic.png)
20+
1921
Neural Magic’s DeepSparse is an inference runtime that can be deployed directly from a public Docker image. DeepSparse supports various CPU instance types and sizes, allowing you to quickly deploy the infrastructure that works best for your use case, based on cost and performance.
2022

2123
If you are interested in configuring and launching an instance with DeepSparse in Python, follow the step-by-step guide below.

Diff for: examples/azure-vm/azure-vm-pic.png

48.4 KB
Loading

Diff for: examples/azure-vm/azure-vm.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ def create_network_interface(
153153
group_name: str,
154154
interface_name: str,
155155
location: str,
156-
subnet: str,
157-
public_ip_address: str,
158-
nsg: str,
156+
subnet: create_subnet,
157+
public_ip_address: create_public_ip_address,
158+
nsg: create_network_security_group,
159159
):
160160
"""
161161
Create a network interface in Azure.
@@ -165,7 +165,7 @@ def create_network_interface(
165165
group_name (str): Name of the resource group.
166166
interface_name (str): Name of the network interface to create.
167167
location (str): Location of the network interface.
168-
subnet: The subnet object to associate with the network interface.
168+
subnet : The subnet object to associate with the network interface.
169169
public_ip_address: The public IP address object to associate with the network.
170170
nsg: The network security group object to associate with the network interface.
171171

0 commit comments

Comments
 (0)