aws / aws/sagemaker-python-sdk
Can you support a parameter to increase shared memory bus?
- Langage dominant
- Python
- Étoiles
- 2.3k
- Forks
- 1.3k
- Merge moyen
- 1 j 22 h
- PR mergées (30 j)
- 35
Description
Hi,
I am on version 3.4.1 on python 3.12.
I am running into errors like
```
RuntimeError: DataLoader worker (pid 256) is killed by signal: Bus error. It is possible that dataloader's workers are out of shared memory. Please try to raise your shared memory limit.
```
As far as I understand, this means the workers are using too much memory transferring it to the main process, and this error is being raised. The usual fix would be just to increase the memory bus limit, but it seems that sagemaker does not support such a parameter: https://stackoverflow.com/questions/71660619/how-to-alter-shared-memory-for-sagemaker-docker-containers (at least, that's the only result I found, from 4 years ago)
Would it be possible to add such a capability? It would help a lot - right now I am manually reducing the batch size just to fix this problem.
Thank you!
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Aucun fichier du dépôt, test ou point d’entrée n’est nommé. Commencez par localiser la configuration du conteneur d’entraînement SageMaker et les paramètres d’exécution existants, puis déterminez où un paramètre de mémoire partagée pourrait être exposé ; le travail est terminé lorsque le paramètre est pris en charge et que son comportement est couvert par des tests ou une utilisation documentée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, python, pytorch
- Domaine
- cloud, machine-learning
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100