Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
c3f95386
"docs/vscode:/vscode.git/clone" did not exist on "ee13b623cdca1c7ef76c357b216061d72f7beb4a"
Commit
c3f95386
authored
Jan 29, 2024
by
Marc Raiser
Browse files
remove default.nix
parent
4c4c730a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
default.nix
default.nix
+0
-24
No files found.
default.nix
deleted
100644 → 0
View file @
4c4c730a
with
(
import
<
nixpkgs
>
{});
let
LLP
=
with
pkgs
;
[
gcc11
cudatoolkit
linuxPackages
.
nvidia_x11
go
cmake
];
LD_LIBRARY_PATH
=
pkgs
.
lib
.
makeLibraryPath
LLP
;
in
stdenv
.
mkDerivation
{
name
=
"ollama-env"
;
buildInputs
=
LLP
;
src
=
null
;
# IMPORTANT: Edit ./llm/generate/gen_linux.sh
shellHook
=
''
SOURCE_DATE_EPOCH=$(date +%s)
export LD_LIBRARY_PATH=
${
LD_LIBRARY_PATH
}
export CUDA_LIB_DIR=
${
cudatoolkit
.
out
}
/lib
export CUDART_LIB_DIR=
${
cudatoolkit
.
lib
}
/lib
export NVCC_PREPEND_FLAGS='-ccbin
${
gcc11
}
/bin/'
''
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment