-
Notifications
You must be signed in to change notification settings - Fork 31.5k
Don't install pytorch-quantization in Doc Builder docker file
#26622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pytorch-quantization in Doc Builder docker file
316e7ab to
a13a6aa
Compare
| RUN python3 -m pip install --no-cache-dir ./transformers[deepspeed] | ||
|
|
||
| RUN python3 -m pip install --no-cache-dir torchvision git+https://github.com/facebookresearch/detectron2.git pytesseract | ||
| RUN python3 -m pip install --no-cache-dir pytorch-quantization --extra-index-url https://pypi.ngc.nvidia.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if this will affect the doc build for the model QDQBert. I tested it locally, the doc build completed without failure, including transformers/docs/source/en/model_doc/qdqbert.md.
|
The documentation is not available anymore as the PR was closed or merged. |
|
For the record, here is the issue when running the suggested installation command: at the doc build time |
LysandreJik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Thanks Yih-Dar! |
What does this PR do?
Doc builder docker image build starts to fail with
I tried to install it with the suggested command, but the doc build step will fail with some cuda libary issue.
(when building
transformers/docs/source/en/model_doc/qdqbert.md)I removed the line that installs
pytorch-quantizationand doc build can pass (and docker image built).