We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67ce543 commit e497bc0Copy full SHA for e497bc0
.github/workflows/nix_build.yaml
@@ -47,7 +47,7 @@ jobs:
47
if [ "${{ github.event_name }}" = "pull_request" ]; then
48
export TAG=nix-sha-${{ env.GITHUB_SHA_SHORT }}
49
else
50
- export TAG=nix-{{ version }}
+ export TAG=nix-${{ github.ref_name }}
51
fi
52
export IMAGE=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:$TAG
53
nix-shell -p skopeo --command "skopeo --insecure-policy copy docker-archive:$(readlink -f ./result) docker://$IMAGE --dest-compress-format zstd"
tgi-entrypoint.sh
@@ -2,5 +2,5 @@
2
3
ldconfig 2>/dev/null || echo 'unable to refresh ld cache, not a big deal in most cases'
4
5
-source ./.venv/bin/activate
+source /usr/src/.venv/bin/activate
6
exec text-generation-launcher $@
0 commit comments