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

AttributeError: module 'signal' has no attribute 'SIGKILL' #62

Open
wyk1998 opened this issue Oct 4, 2023 · 0 comments
Open

AttributeError: module 'signal' has no attribute 'SIGKILL' #62

wyk1998 opened this issue Oct 4, 2023 · 0 comments

Comments

@wyk1998
Copy link

wyk1998 commented Oct 4, 2023

System: windows 11, Nvidia GTX 4060Ti
Configuration environment:
torch 1.13.0+cu116
torchaudio 0.13.0+cu116
torchvision 0.14.0+cu116
mmcv 2.0.1
After running the command ./tools/dist_train.sh configs/SETR/SETR_PUP_DeiT_768x768_80k_cityscapes_bs_8.py 1, the following problem occurs:

NOTE: Redirects are currently not supported in Windows or MacOs.
Traceback (most recent call last):
File "E:\Anaconda\envs\setr\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "E:\Anaconda\envs\setr\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "E:\Anaconda\envs\setr\lib\site-packages\torch\distributed\launch.py", line 150, in
from torch.distributed.run import get_args_parser, run
File "E:\Anaconda\envs\setr\lib\site-packages\torch\distributed\run.py", line 386, in
from torch.distributed.launcher.api import LaunchConfig, elastic_launch
File "E:\Anaconda\envs\setr\lib\site-packages\torch\distributed\launcher_init
.py", line 10, in
from torch.distributed.launcher.api import ( # noqa: F401
File "E:\Anaconda\envs\setr\lib\site-packages\torch\distributed\launcher\api.py", line 15, in
from torch.distributed.elastic.agent.server.api import WorkerSpec
File "E:\Anaconda\envs\setr\lib\site-packages\torch\distributed\elastic\agent\server_init
.py", line 40, in
from .local_elastic_agent import TORCHELASTIC_ENABLE_FILE_TIMER, TORCHELASTIC_TIMER_FILE
File "E:\Anaconda\envs\setr\lib\site-packages\torch\distributed\elastic\agent\server\local_elastic_agent.py", line 19, in
import torch.distributed.elastic.timer as timer
File "E:\Anaconda\envs\setr\lib\site-packages\torch\distributed\elastic\timer_init_.py", line 44, in
from .file_based_local_timer import FileTimerClient, FileTimerServer, FileTimerRequest # noqa: F401
File "E:\Anaconda\envs\setr\lib\site-packages\torch\distributed\elastic\timer\file_based_local_timer.py", line 63, in
class FileTimerClient(TimerClient):
File "E:\Anaconda\envs\setr\lib\site-packages\torch\distributed\elastic\timer\file_based_local_timer.py", line 81, in FileTimerClient
def init(self, file_path: str, signal=signal.SIGKILL) -> None:
AttributeError: module 'signal' has no attribute 'SIGKILL'

I would like to know if anyone has had this problem and how to fix it please

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

No branches or pull requests

1 participant