Skip to main content

No project description provided

Project description

MicroTVM Device Python Package

A python package for managing microTVM devices on a server for the purpose of hardware CI testing, autotuning, etc.

Installation

pip3 install microtvm_device

Setup Device Server

To run the device server run command bellow with a JSON file including information about various devices. Here is a template of JSON file.

python -m microtvm_device.device_server --table-file=[DEVICE TABLE JSON FILE] <--port=[SERVER PORT]>

Note: If you are using the server in an envrionment with multiple users using VirtualBox, server should be run on an account with `sudo` access to all account to be able to inquery the USB attachments with any VirtualBox instance.

Use Device Client

After running server you can run various command using device_client. Command includes attach, detach, release, request and query.

python -m microtvm_device.device_client <--port=[SERVER PORT]> COMMAND 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

microtvm_device-0.4.0.tar.gz (16.6 kB view hashes)

Uploaded Source

Built Distribution

microtvm_device-0.4.0-py3-none-any.whl (19.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page