Skip to content

Commit

Permalink
update launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
mht-sharma committed Jun 24, 2024
1 parent 3cc2f4e commit e81c4cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Dockerfile_amd
Original file line number Diff line number Diff line change
Expand Up @@ -213,5 +213,5 @@ FROM base-copy
COPY ./tgi-entrypoint.sh /tgi-entrypoint.sh
RUN chmod +x /tgi-entrypoint.sh

# ENTRYPOINT ["/tgi-entrypoint.sh"]
# CMD ["--json-output"]
ENTRYPOINT ["/tgi-entrypoint.sh"]
CMD ["--json-output"]
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,3 @@ run-falcon-7b-instruct-quantize:

clean:
rm -rf target aml

interact:
docker run --rm -it --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --device=/dev/kfd --device=/dev/dri --group-add video --ipc=host --shm-size 64g --net host -v /home/mohit/.cache/huggingface/hub/:/data -v $(PWD):/tgi tgi-mht
4 changes: 2 additions & 2 deletions launcher/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ impl std::fmt::Display for KvDtype {
match self {
KvDtype::Fp8 => {
write!(f, "fp8")
},
}
KvDtype::Fp8e5m2 => {
write!(f, "fp8_e5m2")
},
}
}
}
}
Expand Down

0 comments on commit e81c4cf

Please sign in to comment.