[Bug] Docker Image Immediately Crashes
See original GitHub issueDescribe the bug
Docker image immediately crashes
To Reproduce
docker build .
docker image ls
to find the has of most recent built imagedocker image run ccecb48e2799
Expected behavior
Anything that’s not an error
Logs
Traceback (most recent call last):
File "/venv/bin/tts", line 5, in <module>
from TTS.bin.synthesize import main
File "/root/TTS/bin/synthesize.py", line 11, in <module>
from TTS.utils.manage import ModelManager
File "/root/TTS/utils/manage.py", line 11, in <module>
from TTS.config import load_config
File "/root/TTS/config/__init__.py", line 10, in <module>
from TTS.config.shared_configs import *
File "/root/TTS/config/shared_configs.py", line 5, in <module>
from trainer import TrainerConfig
File "/venv/lib/python3.8/site-packages/trainer/__init__.py", line 3, in <module>
from trainer.model import *
File "/venv/lib/python3.8/site-packages/trainer/model.py", line 4, in <module>
import torch
File "/venv/lib/python3.8/site-packages/torch/__init__.py", line 655, in <module>
from ._tensor import Tensor
File "/venv/lib/python3.8/site-packages/torch/_tensor.py", line 15, in <module>
from torch.overrides import (
File "/venv/lib/python3.8/site-packages/torch/overrides.py", line 33, in <module>
from torch._C import (
ImportError: cannot import name '_set_torch_function_mode' from 'torch._C' (/venv/lib/python3.8/site-packages/torch/_C.cpython-38-x86_64-linux-gnu.so)
Environment
{
"CUDA": {
"GPU": [],
"available": false,
"version": "10.2"
},
"Packages": {
"PyTorch_debug": false,
"PyTorch_version": "1.12.1+cu102",
"TTS": "0.8.0",
"numpy": "1.22.4"
},
"System": {
"OS": "Linux",
"architecture": [
"64bit",
"ELF"
],
"processor": "",
"python": "3.10.7",
"version": "#1 SMP PREEMPT_DYNAMIC Thu, 15 Sep 2022 16:08:26 +0000"
}
}
Additional context
Sorry this isn’t more helpful, but Docker images should be easily reproduced.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Find out Why Your Docker Container Keeps Crashing
Your Docker container is exiting without a useful error message? Here are a few ways to find out what's happening.
Read more >6 ways to debug an exploding Docker container - Medium
If you've got a initial command or entrypoint that immediately crashes, Docker will immediately shut it back down for you. This can make...
Read more >how to fix docker crashing at startup - Stack Overflow
how to fix docker crashing at startup · Uninstall and install again · Update wsl 2 · reboot docker · reset docker hyper-v,...
Read more >4.13.1 (90346) Docker crash when running container ... - GitHub
After upgrading to Docker Desktop for Mac 4.13.0, the docker engine crashes with this message in the terminal that launched the container ......
Read more >Why Does My Docker Container Stop? - Tutorial Works
When you run a container image you've pulled from a registry like Docker Hub, you're launching a process. This process will, eventually, complete....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks, it works!
Sorry but I couldn’t reproduce your issue.
I tested on two separate envs (one with GPU the other without).
Gives me