Add unit test for Mixtral MoE layer (#2677)

This commit is contained in:
Philipp Moritz
2024-01-31 14:34:17 -08:00
committed by GitHub
parent 89efcf1ce5
commit d0d93b92b1
5 changed files with 119 additions and 55 deletions

View File

@@ -7,6 +7,12 @@ FROM nvidia/cuda:12.1.0-devel-ubuntu22.04 AS dev
RUN apt-get update -y \
&& apt-get install -y python3-pip git
# Workaround for https://github.com/openai/triton/issues/2507 and
# https://github.com/pytorch/pytorch/issues/107960 -- hopefully
# this won't be needed for future versions of this docker image
# or future versions of triton.
RUN ldconfig /usr/local/cuda-12.1/compat/
WORKDIR /workspace
# install build and runtime dependencies