Skip to content

Commit

Permalink
add diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
InquestGeronimo committed Jun 16, 2023
1 parent 59e48d8 commit eda934a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions examples/azure-vm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ limitations under the License.

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

![diagram](./azure-vm-pic.png)

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.

If you are interested in configuring and launching an instance with DeepSparse in Python, follow the step-by-step guide below.
Expand Down
Binary file added examples/azure-vm/azure-vm-pic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions examples/azure-vm/azure-vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ def create_network_interface(
group_name: str,
interface_name: str,
location: str,
subnet: str,
public_ip_address: str,
nsg: str,
subnet: create_subnet,
public_ip_address: create_public_ip_address,
nsg: create_network_security_group,
):
"""
Create a network interface in Azure.
Expand All @@ -165,7 +165,7 @@ def create_network_interface(
group_name (str): Name of the resource group.
interface_name (str): Name of the network interface to create.
location (str): Location of the network interface.
subnet: The subnet object to associate with the network interface.
subnet : The subnet object to associate with the network interface.
public_ip_address: The public IP address object to associate with the network.
nsg: The network security group object to associate with the network interface.
Expand Down

0 comments on commit eda934a

Please sign in to comment.