Skip to content

Commit

Permalink
add DevContainer configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
yvan-sraka committed Jan 31, 2025
1 parent 437ffe4 commit 32d3700
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "dottxt-ai",
"image": "mcr.microsoft.com/devcontainers/python:3.12",
"runArgs": [
"--device=nvidia.com/gpu=all"
],
"hostRequirements": {
"gpu": "optional"
},
"features": {
"ghcr.io/devcontainers/features/conda:1": {},
"ghcr.io/devcontainers/features/nvidia-cuda:1": {
"installCudnn": true,
"installToolkit": true,
"cudaVersion": "12.4"
},
"ghcr.io/devcontainers/features/rust:1": {}
}
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "outlines"
authors= [{name = "Outlines Developers"}]
description = "Probabilistic Generative Model Programming"
requires-python = ">=3.9"
requires-python = ">=3.9,<3.13"
license = {text = "Apache-2.0"}
keywords=[
"machine learning",
Expand Down

0 comments on commit 32d3700

Please sign in to comment.