#devices #artificial-intelligence #control-api #access #offers #npu #furiosa-ai

nightly bin+lib furiosa-device

APIs that offer FuriosaAI NPU devices' information and allow to control the devices

8 releases

0.2.2 Aug 9, 2023
0.2.1 Jul 21, 2023
0.1.5 Jul 7, 2023
0.1.3 Jan 27, 2023
0.1.0-alpha May 27, 2022

#454 in Hardware support

23 downloads per month

Apache-2.0

140KB
3.5K SLoC

Furiosa Device API

A set of APIs to list and retrieve information of FuriosaAI's NPU devices. To learn more about FuriosaAI's NPU, please visit https://furiosa.ai.

Before you start

This crate requires FuriosaAI's NPU device and its kernel driver. Currently, FuriosaAI offers NPU devices for only users who register Early Access Program (EAP). Please contact contact@furiosa.ai to learn how to start the EAP. You can also refer to Driver, Firmware, and Runtime Installation to learn the kernel driver installation.

Documentation for Rust

To render docs in local, please use a command as below (*requires nightly):

cd device-api
cargo rustdoc --lib --all-features -- --cfg docsrs

For Python

The Python API for FuriosaAI's NPU device is available here.

License

Copyright 2022 FuriosaAI, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependencies

~16–27MB
~381K SLoC