Skip to content

Commit e497bc0

Browse files
authored
Minor fixes. (#3125)
1 parent 67ce543 commit e497bc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/nix_build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
if [ "${{ github.event_name }}" = "pull_request" ]; then
4848
export TAG=nix-sha-${{ env.GITHUB_SHA_SHORT }}
4949
else
50-
export TAG=nix-{{ version }}
50+
export TAG=nix-${{ github.ref_name }}
5151
fi
5252
export IMAGE=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:$TAG
5353
nix-shell -p skopeo --command "skopeo --insecure-policy copy docker-archive:$(readlink -f ./result) docker://$IMAGE --dest-compress-format zstd"

tgi-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
ldconfig 2>/dev/null || echo 'unable to refresh ld cache, not a big deal in most cases'
44

5-
source ./.venv/bin/activate
5+
source /usr/src/.venv/bin/activate
66
exec text-generation-launcher $@

0 commit comments

Comments
 (0)