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 details)
Built Distribution
File details
Details for the file microtvm_device-0.4.0.tar.gz
.
File metadata
- Download URL: microtvm_device-0.4.0.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Darwin/21.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a233c8728918a3a21b46d519b643999d0483bd80177bc44cdea1548de754eb5 |
|
MD5 | 7ac9da66a47e0b0ddd13f1043c50b21b |
|
BLAKE2b-256 | c4a4b58e873da267629b81814f0815cc2380af6955ddb9970d0c07308bc08e23 |
File details
Details for the file microtvm_device-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: microtvm_device-0.4.0-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Darwin/21.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c32a642cad9bbb093ca37ad2a6d9c696f5dc4a329bef07f4de990b32de6043db |
|
MD5 | 4f4de8f62470ea4635fa9ccba4d9f28a |
|
BLAKE2b-256 | 1d434841ea26ad3e83bb3c7450ceb9dfb2596f93acfe8f79c7d6ad5e622dcdf5 |