Skip to content

Commit

Permalink
Build doc
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbenayoun committed Dec 19, 2024
1 parent b8701ff commit 3041f16
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
3 changes: 1 addition & 2 deletions docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ RUN python3 -m pip install --no-cache-dir --upgrade pip
RUN python3 -m pip install --no-cache-dir git+https://github.com/huggingface/doc-builder.git

RUN git clone $clone_url && cd optimum && git checkout $commit_sha
RUN python3 -m pip install --no-cache-dir ./optimum[onnxruntime,benchmark,quality,exporters-tf,doc-build,diffusers]
RUN python3 -m pip install ./optimum[exporters-executorch] --index-url https://download.pytorch.org/whl/cpu
RUN python3 -m pip install --no-cache-dir ./optimum[onnxruntime,benchmark,quality,exporters-tf,exporters-executorch,doc-build,diffusers]
16 changes: 8 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@
],
"exporters-tf": [
"tensorflow>=2.4,<=2.12.1",
"tf2onnx",
"onnx",
"onnxruntime",
"timm",
"h5py",
"numpy<1.24.0",
"datasets<=2.16",
"transformers>=4.36",
# "tf2onnx",
# "onnx",
# "onnxruntime",
# "timm",
# "h5py",
# "numpy<1.24.0",
# "datasets<=2.16",
# "transformers>=4.36",
],
"exporters-executorch": [
"executorch>=0.4.0",
Expand Down

0 comments on commit 3041f16

Please sign in to comment.