Closed SMSajadi99 closed 1 year ago
torch 1.12.0
CUDA 12.0
Device on colab may not support flash-attn. Try to train models without flash-attn.
Device on colab may not support flash-attn. Try to train models without flash-attn.
Does that mean I should change the code? Do you know which part to comment?
@SMSajadi99 Refer to this issue. https://github.com/exiawsh/StreamPETR/issues/23#issuecomment-1569985134
@exiawsh WoW, thanks a lot
Hi again
https://github.com/exiawsh/StreamPETR/blob/1111ffaa685068059fb112e58c6c4bb9d9c418f6/projects/mmdet3d_plugin/models/utils/attention.py#L22C1-L22C1 https://github.com/exiawsh/StreamPETR/blob/1111ffaa685068059fb112e58c6c4bb9d9c418f6/projects/mmdet3d_plugin/models/utils/attention.py#L21 https://github.com/exiawsh/StreamPETR/blob/1111ffaa685068059fb112e58c6c4bb9d9c418f6/projects/mmdet3d_plugin/models/utils/attention.py#L74 https://github.com/exiawsh/StreamPETR/blob/1111ffaa685068059fb112e58c6c4bb9d9c418f6/projects/mmdet3d_plugin/models/utils/attention.py#L87
These items are related to this library. What should I do with these items?
Hi again
These items are related to this library. What should I do with these items?
You do not need to comment this line. Because they will not directly import, if you follow issue 23.
one question
Should this item be mini
or not?
one question Should this item be
mini
or not? You should change the config or change the filename.
I changed all the references to pkls
in vscode to mini
, is this correct?
I changed all the references to
pkls
in vscode tomini
, is this correct?
Yes, you need to run it yourself.
Thank you very much Only I have a problem before the issue. I'm starting from train's part because I'm already doing colab(it has a good RAM), and now I'm having a problem again that train can't do it.
/usr/local/lib/python3.8/site-packages/torch/distributed/launch.py:163: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead logger.warn( The module torch.distributed.launch is deprecated and going to be removed in future.Migrate to 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.
INFO:torch.distributed.launcher.api:Starting elastic_operator with launch configs: entrypoint : tools/train.py min_nodes : 1 max_nodes : 1 nproc_per_node : 8 run_id : none rdzv_backend : static rdzv_endpoint : 127.0.0.1:29500 rdzv_configs : {'rank': 0, 'timeout': 900} max_restarts : 3 monitor_interval : 5 log_dir : None metrics_cfg : {}
INFO:torch.distributed.elastic.agent.server.local_elastic_agent:log directory set to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5 INFO:torch.distributed.elastic.agent.server.api:[default] starting workers for entrypoint: python INFO:torch.distributed.elastic.agent.server.api:[default] Rendezvous'ing worker group /usr/local/lib/python3.8/site-packages/torch/distributed/elastic/utils/store.py:52: FutureWarning: This is an experimental API and will be changed in future. warnings.warn( INFO:torch.distributed.elastic.agent.server.api:[default] Rendezvous complete for workers. Result: restart_count=0 master_addr=127.0.0.1 master_port=29500 group_rank=0 group_world_size=1 local_ranks=[0, 1, 2, 3, 4, 5, 6, 7] role_ranks=[0, 1, 2, 3, 4, 5, 6, 7] global_ranks=[0, 1, 2, 3, 4, 5, 6, 7] role_world_sizes=[8, 8, 8, 8, 8, 8, 8, 8] global_world_sizes=[8, 8, 8, 8, 8, 8, 8, 8]
sys.platform: linux Python: 3.8.16 (default, Mar 2 2023, 03:21:46) [GCC 11.2.0] CUDA available: True GPU 0: Tesla T4 CUDA_HOME: /usr/local/cuda NVCC: Cuda compilation tools, release 11.8, V11.8.89 GCC: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 PyTorch: 1.9.0+cu111 PyTorch compiling details: PyTorch built with:
2023-07-04 01:15:00,408 - mmdet - INFO - Distributed training: True Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 78, in init self.attn = FlashMHA(embed_dims, num_heads, attn_drop, dtype=torch.float16, device='cuda', NameError: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 613, in init attention = build_attention(attn_cfgs[index]) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 45, in build_attention return build_from_cfg(cfg, ATTENTION, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(*args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 386, in init super(PETRTransformerDecoder, self).init(args, **kwargs) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 894, in init self.layers.append(build_transformer_layer(transformerlayers[i])) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 55, in build_transformer_layer return build_from_cfg(cfg, TRANSFORMER_LAYER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 447, in init self.decoder = build_transformer_layer_sequence(decoder) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 60, in build_transformer_layer_sequence return build_from_cfg(cfg, TRANSFORMER_LAYER_SEQUENCE, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/dense_heads/streampetr_head.py", line 202, in init self.transformer = build_transformer(transformer) File "/usr/local/lib/python3.8/site-packages/mmdet/models/utils/builder.py", line 11, in build_transformer return build_from_cfg(cfg, TRANSFORMER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(*args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/detectors/petr3d.py", line 48, in init super(Petr3D, self).init(pts_voxel_layer, pts_voxel_encoder, File "/content/mmdetection3d/mmdet3d/models/detectors/mvx_two_stage.py", line 62, in init self.pts_bbox_head = builder.build_head(pts_bbox_head) File "/content/mmdetection3d/mmdet3d/models/builder.py", line 68, in build_head return MMDET_HEADS.build(cfg) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 237, in build return self.build_func(args, **kwargs, registry=self) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg return build_from_cfg(cfg, registry, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: StreamPETRHead: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/train.py", line 263, in
2023-07-04 01:15:17,277 - mmdet - INFO - Set random seed to 0, deterministic: False Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 78, in init self.attn = FlashMHA(embed_dims, num_heads, attn_drop, dtype=torch.float16, device='cuda', NameError: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 613, in init attention = build_attention(attn_cfgs[index]) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 45, in build_attention return build_from_cfg(cfg, ATTENTION, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 78, in init self.attn = FlashMHA(embed_dims, num_heads, attn_drop, dtype=torch.float16, device='cuda', NameError: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 613, in init attention = build_attention(attn_cfgs[index]) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 45, in build_attention return build_from_cfg(cfg, ATTENTION, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(*args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 386, in init super(PETRTransformerDecoder, self).init(args, **kwargs) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 894, in init self.layers.append(build_transformer_layer(transformerlayers[i])) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 55, in build_transformer_layer return build_from_cfg(cfg, TRANSFORMER_LAYER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 447, in init self.decoder = build_transformer_layer_sequence(decoder) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 60, in build_transformer_layer_sequence return build_from_cfg(cfg, TRANSFORMER_LAYER_SEQUENCE, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(args)
File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 386, in init NameError: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(*args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/dense_heads/streampetr_head.py", line 202, in init super(PETRTransformerDecoder, self).init(args, **kwargs) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 894, in init self.transformer = build_transformer(transformer) File "/usr/local/lib/python3.8/site-packages/mmdet/models/utils/builder.py", line 11, in build_transformer return build_from_cfg(cfg, TRANSFORMER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/detectors/petr3d.py", line 48, in init self.layers.append(build_transformer_layer(transformerlayers[i])) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 55, in build_transformer_layer super(Petr3D, self).init(pts_voxel_layer, pts_voxel_encoder, File "/content/mmdetection3d/mmdet3d/models/detectors/mvx_two_stage.py", line 62, in init return build_from_cfg(cfg, TRANSFORMER_LAYER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg self.pts_bbox_head = builder.build_head(pts_bbox_head) File "/content/mmdetection3d/mmdet3d/models/builder.py", line 68, in build_head raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return MMDET_HEADS.build(cfg) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 237, in build return obj_cls(*args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 447, in init return self.build_func(args, **kwargs, registry=self) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg return build_from_cfg(cfg, registry, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg self.decoder = build_transformer_layer_sequence(decoder) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 60, in build_transformer_layer_sequence raise type(e)(f'{obj_cls.name}: {e}') NameError: StreamPETRHead: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/train.py", line 263, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/dense_heads/streampetr_head.py", line 202, in init model = build_model( File "/content/mmdetection3d/mmdet3d/models/builder.py", line 122, in build_model self.transformer = build_transformer(transformer) File "/usr/local/lib/python3.8/site-packages/mmdet/models/utils/builder.py", line 11, in build_transformer return build_detector(cfg, train_cfg=train_cfg, test_cfg=test_cfg) File "/content/mmdetection3d/mmdet3d/models/builder.py", line 95, in build_detector return build_from_cfg(cfg, TRANSFORMER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg return MMDET_DETECTORS.build( File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 237, in build raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return self.build_func(*args, kwargs, registry=self) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg return obj_cls(args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/detectors/petr3d.py", line 48, in init return build_from_cfg(cfg, registry, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg super(Petr3D, self).init(pts_voxel_layer, pts_voxel_encoder, File "/content/mmdetection3d/mmdet3d/models/detectors/mvx_two_stage.py", line 62, in init raise type(e)(f'{obj_cls.name}: {e}') NameError: Petr3D: StreamPETRHead: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined self.pts_bbox_head = builder.build_head(pts_bbox_head) File "/content/mmdetection3d/mmdet3d/models/builder.py", line 68, in build_head Traceback (most recent call last): return MMDET_HEADS.build(cfg) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg
File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 237, in build return self.build_func(*args, **kwargs, registry=self) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg return build_from_cfg(cfg, registry, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: StreamPETRHead: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/train.py", line 263, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 613, in init attention = build_attention(attn_cfgs[index]) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 45, in build_attention return build_from_cfg(cfg, ATTENTION, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(*args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 386, in init super(PETRTransformerDecoder, self).init(args, **kwargs) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 894, in init self.layers.append(build_transformer_layer(transformerlayers[i])) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 55, in build_transformer_layer return build_from_cfg(cfg, TRANSFORMER_LAYER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 447, in init self.decoder = build_transformer_layer_sequence(decoder) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 60, in build_transformer_layer_sequence return build_from_cfg(cfg, TRANSFORMER_LAYER_SEQUENCE, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/dense_heads/streampetr_head.py", line 202, in init self.transformer = build_transformer(transformer) File "/usr/local/lib/python3.8/site-packages/mmdet/models/utils/builder.py", line 11, in build_transformer return build_from_cfg(cfg, TRANSFORMER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(*args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/detectors/petr3d.py", line 48, in init super(Petr3D, self).init(pts_voxel_layer, pts_voxel_encoder, File "/content/mmdetection3d/mmdet3d/models/detectors/mvx_two_stage.py", line 62, in init self.pts_bbox_head = builder.build_head(pts_bbox_head) File "/content/mmdetection3d/mmdet3d/models/builder.py", line 68, in build_head return MMDET_HEADS.build(cfg) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 237, in build return self.build_func(args, **kwargs, registry=self) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg return build_from_cfg(cfg, registry, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: StreamPETRHead: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/train.py", line 263, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 613, in init attention = build_attention(attn_cfgs[index]) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 45, in build_attention return build_from_cfg(cfg, ATTENTION, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(*args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 386, in init super(PETRTransformerDecoder, self).init(args, **kwargs) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 894, in init self.layers.append(build_transformer_layer(transformerlayers[i])) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 55, in build_transformer_layer return build_from_cfg(cfg, TRANSFORMER_LAYER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 447, in init self.decoder = build_transformer_layer_sequence(decoder) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 60, in build_transformer_layer_sequence return build_from_cfg(cfg, TRANSFORMER_LAYER_SEQUENCE, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/dense_heads/streampetr_head.py", line 202, in init self.transformer = build_transformer(transformer) File "/usr/local/lib/python3.8/site-packages/mmdet/models/utils/builder.py", line 11, in build_transformer return build_from_cfg(cfg, TRANSFORMER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(*args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/detectors/petr3d.py", line 48, in init super(Petr3D, self).init(pts_voxel_layer, pts_voxel_encoder, File "/content/mmdetection3d/mmdet3d/models/detectors/mvx_two_stage.py", line 62, in init self.pts_bbox_head = builder.build_head(pts_bbox_head) File "/content/mmdetection3d/mmdet3d/models/builder.py", line 68, in build_head return MMDET_HEADS.build(cfg) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 237, in build return self.build_func(args, **kwargs, registry=self) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg return build_from_cfg(cfg, registry, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: StreamPETRHead: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/train.py", line 263, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 613, in init attention = build_attention(attn_cfgs[index]) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 45, in build_attention return build_from_cfg(cfg, ATTENTION, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(*args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 386, in init super(PETRTransformerDecoder, self).init(args, **kwargs) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 894, in init self.layers.append(build_transformer_layer(transformerlayers[i])) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 55, in build_transformer_layer return build_from_cfg(cfg, TRANSFORMER_LAYER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(args) return obj_cls(args)
File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 78, in init File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 447, in init self.attn = FlashMHA(embed_dims, num_heads, attn_drop, dtype=torch.float16, device='cuda', NameError: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 613, in init attention = build_attention(attn_cfgs[index]) self.decoder = build_transformer_layer_sequence(decoder) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 60, in build_transformer_layer_sequence return build_from_cfg(cfg, TRANSFORMER_LAYER_SEQUENCE, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/dense_heads/streampetr_head.py", line 202, in init self.transformer = build_transformer(transformer) File "/usr/local/lib/python3.8/site-packages/mmdet/models/utils/builder.py", line 11, in build_transformer return build_from_cfg(cfg, TRANSFORMER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(*args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/detectors/petr3d.py", line 48, in init super(Petr3D, self).init(pts_voxel_layer, pts_voxel_encoder, File "/content/mmdetection3d/mmdet3d/models/detectors/mvx_two_stage.py", line 62, in init self.pts_bbox_head = builder.build_head(pts_bbox_head) File "/content/mmdetection3d/mmdet3d/models/builder.py", line 68, in build_head return MMDET_HEADS.build(cfg) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 237, in build return self.build_func(args, **kwargs, registry=self)
File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 45, in build_attention return build_from_cfg(cfg, registry, default_args) return build_from_cfg(cfg, ATTENTION, default_args)
File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') raise type(e)(f'{obj_cls.name}: {e}') NameError: StreamPETRHead: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/train.py", line 263, in
NameError: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(*args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 386, in init super(PETRTransformerDecoder, self).init(args, **kwargs) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 894, in init self.layers.append(build_transformer_layer(transformerlayers[i])) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 55, in build_transformer_layer return build_from_cfg(cfg, TRANSFORMER_LAYER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 447, in init self.decoder = build_transformer_layer_sequence(decoder) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 60, in build_transformer_layer_sequence return build_from_cfg(cfg, TRANSFORMER_LAYER_SEQUENCE, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/dense_heads/streampetr_head.py", line 202, in init self.transformer = build_transformer(transformer) File "/usr/local/lib/python3.8/site-packages/mmdet/models/utils/builder.py", line 11, in build_transformer return build_from_cfg(cfg, TRANSFORMER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(*args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/detectors/petr3d.py", line 48, in init super(Petr3D, self).init(pts_voxel_layer, pts_voxel_encoder, File "/content/mmdetection3d/mmdet3d/models/detectors/mvx_two_stage.py", line 62, in init self.pts_bbox_head = builder.build_head(pts_bbox_head) File "/content/mmdetection3d/mmdet3d/models/builder.py", line 68, in build_head return MMDET_HEADS.build(cfg) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 237, in build return self.build_func(args, **kwargs, registry=self) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg return build_from_cfg(cfg, registry, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: StreamPETRHead: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/train.py", line 263, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 613, in init attention = build_attention(attn_cfgs[index]) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 45, in build_attention return build_from_cfg(cfg, ATTENTION, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(*args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 386, in init super(PETRTransformerDecoder, self).init(args, **kwargs) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 894, in init self.layers.append(build_transformer_layer(transformerlayers[i])) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 55, in build_transformer_layer return build_from_cfg(cfg, TRANSFORMER_LAYER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/utils/petr_transformer.py", line 447, in init self.decoder = build_transformer_layer_sequence(decoder) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py", line 60, in build_transformer_layer_sequence return build_from_cfg(cfg, TRANSFORMER_LAYER_SEQUENCE, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(**args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/dense_heads/streampetr_head.py", line 202, in init self.transformer = build_transformer(transformer) File "/usr/local/lib/python3.8/site-packages/mmdet/models/utils/builder.py", line 11, in build_transformer return build_from_cfg(cfg, TRANSFORMER, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(*args) File "/content/sample_data/StreamPETR/projects/mmdet3d_plugin/models/detectors/petr3d.py", line 48, in init super(Petr3D, self).init(pts_voxel_layer, pts_voxel_encoder, File "/content/mmdetection3d/mmdet3d/models/detectors/mvx_two_stage.py", line 62, in init self.pts_bbox_head = builder.build_head(pts_bbox_head) File "/content/mmdetection3d/mmdet3d/models/builder.py", line 68, in build_head return MMDET_HEADS.build(cfg) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 237, in build return self.build_func(args, **kwargs, registry=self) File "/usr/local/lib/python3.8/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg return build_from_cfg(cfg, registry, default_args) File "/usr/local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') NameError: StreamPETRHead: PETRTemporalTransformer: PETRTransformerDecoder: PETRTemporalDecoderLayer: PETRMultiheadFlashAttention: name 'FlashMHA' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/train.py", line 263, in
INFO:torch.distributed.elastic.agent.server.api:[default] Starting worker group
INFO:torch.distributed.elastic.multiprocessing:Setting worker0 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_1/0/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker1 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_1/1/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker2 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_1/2/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker3 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_1/3/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker4 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_1/4/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker5 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_1/5/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker6 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_1/6/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker7 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_1/7/error.json
projects.mmdet3d_plugin
projects.mmdet3d_plugin
projects.mmdet3d_plugin
projects.mmdet3d_plugin
projects.mmdet3d_plugin
projects.mmdet3d_plugin
projects.mmdet3d_plugin
projects.mmdet3d_plugin
Traceback (most recent call last):
File "tools/train.py", line 263, in
INFO:torch.distributed.elastic.agent.server.api:[default] Starting worker group INFO:torch.distributed.elastic.multiprocessing:Setting worker0 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_2/0/error.json INFO:torch.distributed.elastic.multiprocessing:Setting worker1 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_2/1/error.json INFO:torch.distributed.elastic.multiprocessing:Setting worker2 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_2/2/error.json INFO:torch.distributed.elastic.multiprocessing:Setting worker3 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_2/3/error.json INFO:torch.distributed.elastic.multiprocessing:Setting worker4 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_2/4/error.json INFO:torch.distributed.elastic.multiprocessing:Setting worker5 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_2/5/error.json INFO:torch.distributed.elastic.multiprocessing:Setting worker6 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_2/6/error.json INFO:torch.distributed.elastic.multiprocessing:Setting worker7 reply file to: /tmp/torchelastic_gmvczgyd/none_d1xrhq_5/attempt_2/7/error.json projects.mmdet3d_plugin projects.mmdet3d_plugin projects.mmdet3d_plugin projects.mmdet3d_plugin projects.mmdet3d_plugin projects.mmdet3d_plugin projects.mmdet3d_plugin projects.mmdet3d_plugin
. . .
Change the config, PETRMultiheadFlashAttention → PETRMultiheadAttention.
Which part do you mean?
Which part do you mean?
It depends on which config you are running.....
I used exactly the code you posted in the train
I found it, I will change it now
2023-07-04 02:41:25,235 - mmdet - INFO - Set random seed to 0, deterministic: False /usr/local/lib/python3.8/site-packages/mmdet/models/backbones/resnet.py:401: UserWarning: DeprecationWarning: pretrained is deprecated, please use "init_cfg" instead warnings.warn('DeprecationWarning: pretrained is deprecated, ' /usr/local/lib/python3.8/site-packages/mmdet/models/backbones/resnet.py:401: UserWarning: DeprecationWarning: pretrained is deprecated, please use "init_cfg" instead warnings.warn('DeprecationWarning: pretrained is deprecated, ' /usr/local/lib/python3.8/site-packages/mmdet/models/backbones/resnet.py:401: UserWarning: DeprecationWarning: pretrained is deprecated, please use "init_cfg" instead warnings.warn('DeprecationWarning: pretrained is deprecated, ' /usr/local/lib/python3.8/site-packages/mmdet/models/backbones/resnet.py:401: UserWarning: DeprecationWarning: pretrained is deprecated, please use "init_cfg" instead warnings.warn('DeprecationWarning: pretrained is deprecated, ' /usr/local/lib/python3.8/site-packages/mmdet/models/backbones/resnet.py:401: UserWarning: DeprecationWarning: pretrained is deprecated, please use "init_cfg" instead warnings.warn('DeprecationWarning: pretrained is deprecated, ' /usr/local/lib/python3.8/site-packages/mmdet/models/backbones/resnet.py:401: UserWarning: DeprecationWarning: pretrained is deprecated, please use "init_cfg" instead warnings.warn('DeprecationWarning: pretrained is deprecated, ' /usr/local/lib/python3.8/site-packages/mmdet/models/backbones/resnet.py:401: UserWarning: DeprecationWarning: pretrained is deprecated, please use "init_cfg" instead warnings.warn('DeprecationWarning: pretrained is deprecated, ' /usr/local/lib/python3.8/site-packages/mmdet/models/backbones/resnet.py:401: UserWarning: DeprecationWarning: pretrained is deprecated, please use "init_cfg" instead warnings.warn('DeprecationWarning: pretrained is deprecated, ' [W ProcessGroupNCCL.cpp:1569] Rank 7 using best-guess GPU 0 to perform barrier as devices used by this process are currently unknown. This can potentially cause a hang if this rank to GPU mapping is incorrect.Specify device_ids in barrier() to force use of a particular device. [W ProcessGroupNCCL.cpp:1569] Rank 6 using best-guess GPU 0 to perform barrier as devices used by this process are currently unknown. This can potentially cause a hang if this rank to GPU mapping is incorrect.Specify device_ids in barrier() to force use of a particular device. [W ProcessGroupNCCL.cpp:1569] Rank 2 using best-guess GPU 0 to perform barrier as devices used by this process are currently unknown. This can potentially cause a hang if this rank to GPU mapping is incorrect.Specify device_ids in barrier() to force use of a particular device. [W ProcessGroupNCCL.cpp:1569] Rank 3 using best-guess GPU 0 to perform barrier as devices used by this process are currently unknown. This can potentially cause a hang if this rank to GPU mapping is incorrect.Specify device_ids in barrier() to force use of a particular device. [W ProcessGroupNCCL.cpp:1569] Rank 5 using best-guess GPU 0 to perform barrier as devices used by this process are currently unknown. This can potentially cause a hang if this rank to GPU mapping is incorrect.Specify device_ids in barrier() to force use of a particular device. [W ProcessGroupNCCL.cpp:1569] Rank 1 using best-guess GPU 0 to perform barrier as devices used by this process are currently unknown. This can potentially cause a hang if this rank to GPU mapping is incorrect.Specify device_ids in barrier() to force use of a particular device. [W ProcessGroupNCCL.cpp:1569] Rank 4 using best-guess GPU 0 to perform barrier as devices used by this process are currently unknown. This can potentially cause a hang if this rank to GPU mapping is incorrect.Specify device_ids in barrier() to force use of a particular device. 2023-07-04 02:41:29,713 - mmdet - INFO - initialize ResNet with init_cfg {'type': 'Pretrained', 'checkpoint': 'torchvision://resnet50'} 2023-07-04 02:41:29,735 - mmcv - INFO - load model from: torchvision://resnet50 2023-07-04 02:41:29,741 - mmcv - INFO - load checkpoint from torchvision path: torchvision://resnet50 Downloading: "https://download.pytorch.org/models/resnet50-0676ba61.pth" to /root/.cache/torch/hub/checkpoints/resnet50-0676ba61.pth 100% 97.8M/97.8M [00:01<00:00, 53.4MB/s] [W ProcessGroupNCCL.cpp:1569] Rank 0 using best-guess GPU 0 to perform barrier as devices used by this process are currently unknown. This can potentially cause a hang if this rank to GPU mapping is incorrect.Specify device_ids in barrier() to force use of a particular device.
Is this a problem? Because it is still running
Is this a problem? Because it is still running
It's not a problem. I have to work now. If you have any other questions, I will answer you tomorrow.
Hi everyone I tried to install the libraries on colab, but I had a problem with one of these libraries and could not install them: