mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-05 22:00:09 +06:00
Add compressed tensor in quant dockerfile (#36239)
add compressed_tensors in the dockerfile
This commit is contained in:
parent
3e970dbbf1
commit
dae8708c36
@ -76,6 +76,9 @@ RUN python3 -m pip install git+https://github.com/NetEase-FuXi/EETQ.git
|
|||||||
RUN python3 -m pip install --no-cache-dir flute-kernel==0.3.0 -i https://flute-ai.github.io/whl/cu118
|
RUN python3 -m pip install --no-cache-dir flute-kernel==0.3.0 -i https://flute-ai.github.io/whl/cu118
|
||||||
RUN python3 -m pip install --no-cache-dir fast_hadamard_transform==1.0.4.post1
|
RUN python3 -m pip install --no-cache-dir fast_hadamard_transform==1.0.4.post1
|
||||||
|
|
||||||
|
# Add compressed-tensors for quantization testing
|
||||||
|
RUN python3 -m pip install --no-cache-dir compressed-tensors
|
||||||
|
|
||||||
# When installing in editable mode, `transformers` is not recognized as a package.
|
# When installing in editable mode, `transformers` is not recognized as a package.
|
||||||
# this line must be added in order for python to be aware of transformers.
|
# this line must be added in order for python to be aware of transformers.
|
||||||
RUN cd transformers && python3 setup.py develop
|
RUN cd transformers && python3 setup.py develop
|
||||||
|
Loading…
Reference in New Issue
Block a user