Skip to content

Commit 32d3700

Browse files
committed
add DevContainer configuration file
1 parent 437ffe4 commit 32d3700

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "dottxt-ai",
3+
"image": "mcr.microsoft.com/devcontainers/python:3.12",
4+
"runArgs": [
5+
"--device=nvidia.com/gpu=all"
6+
],
7+
"hostRequirements": {
8+
"gpu": "optional"
9+
},
10+
"features": {
11+
"ghcr.io/devcontainers/features/conda:1": {},
12+
"ghcr.io/devcontainers/features/nvidia-cuda:1": {
13+
"installCudnn": true,
14+
"installToolkit": true,
15+
"cudaVersion": "12.4"
16+
},
17+
"ghcr.io/devcontainers/features/rust:1": {}
18+
}
19+
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66
name = "outlines"
77
authors= [{name = "Outlines Developers"}]
88
description = "Probabilistic Generative Model Programming"
9-
requires-python = ">=3.9"
9+
requires-python = ">=3.9,<3.13"
1010
license = {text = "Apache-2.0"}
1111
keywords=[
1212
"machine learning",

0 commit comments

Comments
 (0)