Skip to content

Document how to configure /dev/shm size #44

@nrober734

Description

@nrober734

I had difficulty launching this stack successfully out of the box, and had to manually increase the Docker /dev/shm with an additional volumeMount as:

volumeMounts:
  - name: {{ .Release.Name }}-storage
    mountPath: /data
  - name: shm
    mountPath: /dev/shm
  
volumes:
    - name: shm
      emptyDir:
        medium: Memory
        sizeLimit: 20Gi

to avoid NCCL shared memory allocation issues as described in vllm-project/vllm#6574. It might be nice to add this to the tutorial steps and expose an expedient configuration option here for anyone facing similar issues.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions