Crates.io | candle-pyo3 |
lib.rs | candle-pyo3 |
version | 0.9.1 |
created_at | 2023-08-30 07:15:58.477646+00 |
updated_at | 2025-05-01 08:25:42.807387+00 |
description | Minimalist ML framework. |
homepage | |
repository | https://github.com/huggingface/candle |
max_upload_size | |
id | 958768 |
size | 268,552 |
From the candle-pyo3
directory, enable a virtual env where you will want the
candle package to be installed then run.
maturin develop -r
python test.py
For type hinting support, the candle-pyo3
package requires *.pyi
files. You can automatically generate these files using the stub.py
script.
maturin
.python stub.py
To ensure that the stub files match the current implementation, execute:
python stub.py --check