-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
69 lines (60 loc) · 1.5 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "gline-rs"
authors = ["Frédérik Bilhaut <[email protected]>"]
version = "0.9.3-SNAPSHOT"
edition = "2021"
license = "Apache-2.0"
keywords = ["NLP", "NER", "GLiNER", "Transformer"]
readme = "./Readme.md"
description = "Inference engine for GLiNER models"
homepage = "https://github.com/fbilhaut/gline-rs"
repository = "https://github.com/fbilhaut/gline-rs"
documentation = "https://docs.rs/gline-rs/"
exclude = [ "data", "models" ]
[lib]
name = "gliner"
path = "src/lib.rs"
[[example]]
name = "token-mode"
path = "src/examples/token_mode.rs"
[[example]]
name = "span-mode"
path = "src/examples/span_mode.rs"
[[example]]
name = "relation-extraction"
path = "src/examples/relation_extraction.rs"
[[example]]
name = "benchmark-cpu"
path = "src/examples/benchmark_cpu.rs"
[[example]]
name = "benchmark-gpu"
path = "src/examples/benchmark_gpu.rs"
[dependencies]
composable = "0.9.0"
regex = "1.11.1"
ort = { version="=2.0.0-rc.9" }
tokenizers = { version="0.21.0", features=["http"] }
ndarray = "0.16.0"
csv = "1.3"
[features]
default = []
load-dynamic = ["ort/load-dynamic"]
cuda = ["ort/cuda"]
tensorrt = ["ort/tensorrt"]
directml = ["ort/directml"]
coreml = ["ort/coreml"]
rocm = ["ort/rocm"]
openvino = ["ort/openvino"]
onednn = ["ort/onednn"]
xnnpack = ["ort/xnnpack"]
qnn = ["ort/qnn"]
cann = ["ort/cann"]
nnapi = ["ort/nnapi"]
tvm = ["ort/tvm"]
acl = ["ort/acl"]
armnn = ["ort/armnn"]
migraphx = ["ort/migraphx"]
vitis = ["ort/vitis"]
rknpu = ["ort/rknpu"]
#[lints.clippy]
#unwrap_used = "warn"