Skip to content
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

[Bug] there no runtime.txt in requirements/ #2985

Open
3 tasks done
86kkd opened this issue Jan 3, 2025 · 2 comments
Open
3 tasks done

[Bug] there no runtime.txt in requirements/ #2985

86kkd opened this issue Jan 3, 2025 · 2 comments
Assignees

Comments

@86kkd
Copy link

86kkd commented Jan 3, 2025

Checklist

  • 1. I have searched related issues but cannot get the expected help.
  • 2. The bug has not been fixed in the latest version.
  • 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.

Describe the bug

RUN --mount=type=cache,target=/root/.cache/pip \
sed -i '/triton/d' requirements/runtime.txt && \
LMDEPLOY_TARGET_DEVICE=ascend pip3 install -v --no-build-isolation -e .

Reproduction

docker build -t lmdeploy-aarch64-ascend:latest
-f docker/Dockerfile_aarch64_ascend .

Environment

code error

Error traceback

No response

@86kkd
Copy link
Author

86kkd commented Jan 3, 2025

Has this Dockerfile been tested? The Docker version in EulerOS is only 18.*, which doesn't support --mount=type=cache

RUN --mount=type=cache,target=/root/.cache/pip \

@jinminxi104
Copy link
Collaborator

jinminxi104 commented Jan 4, 2025

no runtime.txt in requirements

we forgot to modify the dockerfile after we changed the requirements, you can remove this line. triton requirements is no longer in ascend requirements.
we'll fix this issue next week

The Docker version in EulerOS is only 18.*, which doesn't support --mount=type=cache

the dockerfile has been tested in Ubuntu, not EulerOS.
" --mount=type=cache" caches the pip packages to speeding up the installation process.

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

No branches or pull requests

3 participants