Unverified Commit 01a515de authored by Daniël de Kok's avatar Daniël de Kok Committed by GitHub
Browse files

nix: add router to the devshell (#2396)

parent 8dcc7d3f
......@@ -70,6 +70,10 @@
torch
transformers
vllm
(callPackage ./router.nix {
inherit (rustPlatform) buildRustPackage importCargoLock;
})
]);
venvDir = "./.venv";
......
{ buildRustPackage, importCargoLock, pkg-config, protobuf, openssl }:
buildRustPackage {
name = "text-generation-router";
src = ./.;
sourceDir = ./backends/v3;
cargoLock = {
lockFile = ./Cargo.lock;
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl.dev protobuf ];
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment