Skip to content

doc : remove incompatible decord dependency and update ascend doc#471

Open
UsernameFull wants to merge 1 commit into
alibaba:mainfrom
UsernameFull:npu_doc
Open

doc : remove incompatible decord dependency and update ascend doc#471
UsernameFull wants to merge 1 commit into
alibaba:mainfrom
UsernameFull:npu_doc

Conversation

@UsernameFull

Copy link
Copy Markdown
Contributor

Fix Ascend A2/A3 Docker environment compatibility:

  • Remove the decord dependency that is incompatible with Ascend, and use torchvision as the video reader backend.
  • Update Docker run commands with the nofile ulimit setting.
  • Add /dev/davinci8 to /dev/davinci15 device mounts for A3.
  • Update both English and Chinese Ascend Docker usage docs.

Comment thread docker/Dockerfile.A2
RUN pip install -r requirements_common.txt
# remove decord from requirements_vision.txt because it is not compatible with Ascend
RUN sed '/requirements_vision\.txt/d' requirements_common.txt > /tmp/req.txt && sed '/^decord\b/d' requirements_vision.txt >> /tmp/req.txt && pip install -r /tmp/req.txt
ENV FORCE_QWENVL_VIDEO_READER=torchvision

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

torchvision occurs seg fault or CPU mem leaks occasionally, Does Ascend support torchcodec reader?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants