Comments (2)
这里是更详细的错误信息
root@2ee107b62013:/home/keyan/image_analysis/src/my_DSL/DSL# ./demo/model_train/baseline_coco.sh
/usr/local/lib/python3.10/dist-packages/torch/distributed/launch.py:178: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torchrun.
Note that --use_env is set by default in torchrun.
If your script expects `--local_rank` argument to be set, please
change it to read from `os.environ['LOCAL_RANK']` instead. See
https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions
warnings.warn(
WARNING:torch.distributed.run:
*****************************************
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
*****************************************
Traceback (most recent call last):
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 202, in <module>
main()
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 120, in main
init_dist(args.launcher, **cfg.dist_params)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 18, in init_dist
_init_dist_pytorch(backend, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 31, in _init_dist_pytorch
torch.cuda.set_device(rank % num_gpus)
ZeroDivisionError: integer division or modulo by zero
Traceback (most recent call last):
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 202, in <module>
main()
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 120, in main
init_dist(args.launcher, **cfg.dist_params)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 18, in init_dist
_init_dist_pytorch(backend, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 31, in _init_dist_pytorch
torch.cuda.set_device(rank % num_gpus)
ZeroDivisionError: integer division or modulo by zero
Traceback (most recent call last):
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 202, in <module>
main()
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 120, in main
init_dist(args.launcher, **cfg.dist_params)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 18, in init_dist
_init_dist_pytorch(backend, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 31, in _init_dist_pytorch
torch.cuda.set_device(rank % num_gpus)
ZeroDivisionError: integer division or modulo by zero
Traceback (most recent call last):
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 202, in <module>
main()
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 120, in main
init_dist(args.launcher, **cfg.dist_params)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 18, in init_dist
_init_dist_pytorch(backend, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 31, in _init_dist_pytorch
torch.cuda.set_device(rank % num_gpus)
ZeroDivisionError: integer division or modulo by zero
Traceback (most recent call last):
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 202, in <module>
main()
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 120, in main
init_dist(args.launcher, **cfg.dist_params)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 18, in init_dist
_init_dist_pytorch(backend, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 31, in _init_dist_pytorch
torch.cuda.set_device(rank % num_gpus)
ZeroDivisionError: integer division or modulo by zero
Traceback (most recent call last):
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 202, in <module>
main()
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 120, in main
init_dist(args.launcher, **cfg.dist_params)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 18, in init_dist
_init_dist_pytorch(backend, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 31, in _init_dist_pytorch
torch.cuda.set_device(rank % num_gpus)
ZeroDivisionError: integer division or modulo by zero
Traceback (most recent call last):
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 202, in <module>
main()
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 120, in main
init_dist(args.launcher, **cfg.dist_params)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 18, in init_dist
_init_dist_pytorch(backend, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 31, in _init_dist_pytorch
torch.cuda.set_device(rank % num_gpus)
ZeroDivisionError: integer division or modulo by zero
Traceback (most recent call last):
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 202, in <module>
main()
File "/home/keyan/image_analysis/src/my_DSL/DSL/./tools/train.py", line 120, in main
init_dist(args.launcher, **cfg.dist_params)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 18, in init_dist
_init_dist_pytorch(backend, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/mmcv/runner/dist_utils.py", line 31, in _init_dist_pytorch
torch.cuda.set_device(rank % num_gpus)
ZeroDivisionError: integer division or modulo by zero
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 238) of binary: /usr/bin/python3
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launch.py", line 193, in <module>
main()
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launch.py", line 189, in main
launch(args)
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launch.py", line 174, in launch
run(args)
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/run.py", line 752, in run
elastic_launch(
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launcher/api.py", line 131, in __call__
return launch_agent(self._config, self._entrypoint, list(args))
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launcher/api.py", line 245, in launch_agent
raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
============================================================
./tools/train.py FAILED
------------------------------------------------------------
Failures:
[1]:
time : 2022-11-21_11:39:40
host : 2ee107b62013
rank : 1 (local_rank: 1)
exitcode : 1 (pid: 239)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[2]:
time : 2022-11-21_11:39:40
host : 2ee107b62013
rank : 2 (local_rank: 2)
exitcode : 1 (pid: 240)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[3]:
time : 2022-11-21_11:39:40
host : 2ee107b62013
rank : 3 (local_rank: 3)
exitcode : 1 (pid: 241)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[4]:
time : 2022-11-21_11:39:40
host : 2ee107b62013
rank : 4 (local_rank: 4)
exitcode : 1 (pid: 242)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[5]:
time : 2022-11-21_11:39:40
host : 2ee107b62013
rank : 5 (local_rank: 5)
exitcode : 1 (pid: 243)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[6]:
time : 2022-11-21_11:39:40
host : 2ee107b62013
rank : 6 (local_rank: 6)
exitcode : 1 (pid: 244)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[7]:
time : 2022-11-21_11:39:40
host : 2ee107b62013
rank : 7 (local_rank: 7)
exitcode : 1 (pid: 245)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
------------------------------------------------------------
Root Cause (first observed failure):
[0]:
time : 2022-11-21_11:39:40
host : 2ee107b62013
rank : 0 (local_rank: 0)
exitcode : 1 (pid: 238)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
============================================================
from dsl.
@Lost-little-dinosaur 这个没有遇到过,查看下你用的GPU个数是否是8个吧,执行脚本默认用的是8 gpus
from dsl.
Related Issues (20)
- Question about dsl HOT 2
- Question about semi-supervised and supervised performance HOT 4
- EMAModel and student model get the same performance HOT 9
- How the scale invariant implement? HOT 4
- Where is "Adaptive Filtering Strategy" source code? HOT 1
- local variable 'save_path' referenced before assignment HOT 1
- some questions HOT 3
- 关于半监督训练的一些问题 HOT 2
- 关于lscale的一些问题 HOT 1
- unlabel_pred error and cannot find the images HOT 4
- 关于Aggregated Teacher
- RuntimeError: Address already in use HOT 7
- 我想请问一下为什么跑这个程序会直接卡死 HOT 14
- 监督学习 HOT 3
- 关于unlabel_train.sh HOT 2
- 伪标签好像没有及时更新? HOT 4
- 复现没达到预期 HOT 11
- 你好,想问一下聚合教师的代码在哪一块呀 HOT 15
- 你好,想问一下关于patch shuffle的代码在哪里,找了好久没找到
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsl.