mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 02:38:10 +00:00

* Begin to generate typehints. * generate correct stubs * Correctly include stubs * Add comments and typhints to static functions * ensure candle-pyo3 directory * Make `llama.rope.freq_base` optional * `fmt`
30 lines
551 B
TOML
30 lines
551 B
TOML
[project]
|
|
name = 'candle-pyo3'
|
|
requires-python = '>=3.7'
|
|
authors = [
|
|
{name = 'Laurent Mazare', email = ''},
|
|
]
|
|
|
|
dynamic = [
|
|
'description',
|
|
'license',
|
|
'readme',
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = 'https://github.com/huggingface/candle'
|
|
Source = 'https://github.com/huggingface/candle'
|
|
|
|
[build-system]
|
|
requires = ["maturin>=1.0,<2.0"]
|
|
build-backend = "maturin"
|
|
|
|
[tool.maturin]
|
|
python-source = "py_src"
|
|
module-name = "candle.candle"
|
|
bindings = 'pyo3'
|
|
features = ["pyo3/extension-module"]
|
|
|
|
[tool.black]
|
|
line-length = 119
|
|
target-version = ['py35'] |