Vitis AI Environment Setup for Windows - 人工智慧共創平台
[Pages:11]Vitis AI Environment Setup for Windows
Last Updates: Oct. 2021
1
Table of Contents
1. Overview
3
2. Environment Setup
3
2.1 Prerequisites
3
2.2 Windows Subsystem for Linux (WSL2)
3
2.2.1 For Windows 10 2004 or higher
3
2.2.2 For Windows 10 1909 or older
4
2.2.3 Download the Linux kernel update package
5
2.2.4 Install Linux distribution of your choice
5
2.3 Docker Desktop for Windows
6
3. Get Started with Examples
6
3.1 Start Docker Desktop
7
3.2 Start WSL2
7
3.3 Download Vitis-AI docker image
8
3.4 Run Vitis-AI docker container on WSL2
9
4. Reference
11
2
1. Overview
This document illustrates how to setup the Vitis-AI development environment on Windows operating system. We will be using Vitis-AI-Tutorials/Design_Tutorials/08tf2_flow/files/ github repository for demonstration purpose.
Reference: Xilinx Vitis-AI-Tutorial GitHub [link]
2. Environment Setup
2.1 Prerequisites
WSL2 [link] System Requirement
2.2 Windows Subsystem for Linux (WSL2)
The Windows Subsystem for Linux lets developers run a GNU/Linux environment -including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a traditional virtual machine or dual-boot setup. Depending on the Windows 10 version on your system, there are two different approaches toward installing WSL2.
2.2.1 For Windows 10 2004 or higher
1. Run command prompt as administrator. 2. Enter the following command C:\> wsl ?install
3
2.2.2 For Windows 10 1909 or older
1. Launch Control Panel 2. Select "Program and functionality" 3. Select "Turn Windows features on or off " 4. Check the "Windows Subsystem for Linux" and "Virtual Machine Platform" options.
5. Click "OK" button and Restart your computer. Reference: WSL installation [link] [link2]
4
2.2.3 Download the Linux kernel update package
Download and install Linux kernel update for WSL2 Setup WSL default version to 2 in PowerShell PS C:\> wsl --set-default-version 2 Reference: WSL update [link]
2.2.4 Install Linux distribution of your choice
Here we will install Ubuntu 20.04 LTS as an example. You can choose Ubuntu 18.04 LTS as well. Open Microsoft Store and search for "ubuntu". Then install the distribution of your choice.
5
You should be able to see the Linux distribution using the following command in PowerShell after installation. PS C:\> wsl -l -v
Note: If the version of the Linux distribution is set to 1, use the following command to change the default WSL version. PS C:\> wsl --set-version Ubuntu-20.04 2
2.3 Docker Desktop for Windows
Download Docker Desktop Stable 2.3.0.2 or a later release. Follow the instructions on docker website to install and setup Docker Desktop for WSL2. [link]
3. Get Started with Examples
Get Started with Examples
6
3.1 Start Docker Desktop
Search for "Docker" and select Docker Desktop in the search results.
3.2 Start WSL2
1. Search for "wsl" and select wsl in the search results.
7
In the WSL2 command prompt, use the following command to check if docker engine is installed on your Windows and can be detected by WSL2. $ docker -v
3.3 Download Vitis-AI docker image
Pull the Vitis-AI docker image from Xilinx dockerhub if you haven't by using the following command in the WSL2. $ docker pull xilinx/vitis-ai:latest Check if docker image is downloaded either using WSL2 command or with Docker Desktop GUI. $ sudo docker image ls
Docker Desktop
8
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- ubuntu guide
- update ssl certificate ubuntu altos
- installing the latest versions of r and rcpp on ubuntu
- use wsl2 to compile yocto nxp community
- investigating wsl endpoints osdfcon
- cuda on wsl user guide nvidia developer
- wsl 설치 매뉴얼
- ns 3 installation on ubuntu 20 04 and wsl 2 md monjurul karim
- vitis ai environment setup for windows 人工智慧共創平台
- ubuntu linux setup guide lenovo
Related searches
- environment projects for students
- java runtime environment 1 6 0 for windows 10
- gaming setup for pc
- pc setup for xbox 360
- ai music generator for game
- pc gaming setup for beginners
- setup home group for windows 10
- environment article for kids
- environment article for students
- environment articles for kids
- powershell environment variables for command
- change my environment variable in windows 10