Skip to content

Commit a3d7080

Browse files
Add an optional dependency for oldnumpy to use an older torch and numpy version.
1 parent 9514044 commit a3d7080

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "detect-jailbreak"
3-
version = "0.1.5"
3+
version = "0.1.6"
44
description = "A prompt-injection and jailbreak detector for LLMs."
55
authors = [
66
{name = "Guardrails AI", email = "[email protected]"},
@@ -21,7 +21,11 @@ dev = [
2121
"pyright",
2222
"pytest",
2323
"ruff"
24-
]
24+
]
25+
oldnumpy = [
26+
"torch>=2.2.2",
27+
"numpy<2"
28+
]
2529

2630
[tool.pytest.ini_options]
2731
minversion = "6.0"

0 commit comments

Comments
 (0)