Skip to content

Commit 088a341

Browse files
committed
Add DevContainer configuration file
1 parent 437ffe4 commit 088a341

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.devcontainer/devcontainer.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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/nvidia-cuda:1": {
12+
"installCudnn": true,
13+
"installToolkit": true,
14+
"cudaVersion": "12.4"
15+
},
16+
"ghcr.io/devcontainers/features/rust:1": {}
17+
}
18+
}

pyproject.toml

+1-1
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)