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.3.0.tar.gz
(16.3 kB
view hashes)
Built Distribution
Close
Hashes for microtvm_device-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30e45a02ae52bd2742e446201843a7b2beb5605d0c6dd7ba8bccd68ed54229e9 |
|
MD5 | 946e5969ca50413641c90b52e3af18b4 |
|
BLAKE2b-256 | 7431d5947dd17337dfc5cabfa6cbacb707cbda09656ad166066be446a762f8aa |