Skip to content

Instantly share code, notes, and snippets.

@camenduru
Created October 24, 2022 19:34
Show Gist options
  • Save camenduru/c9a2d97f229b389fed0b1ad561a243d3 to your computer and use it in GitHub Desktop.
Save camenduru/c9a2d97f229b389fed0b1ad561a243d3 to your computer and use it in GitHub Desktop.
C:\Users\PC\Desktop\diffusers\examples\dreambooth\DeepSpeed>build_win.bat
Administrative permissions required. Detecting permissions...
Success: Administrative permissions confirmed.
DS_BUILD_OPS=1
The filename, directory name, or volume label syntax is incorrect.
The system cannot find the file specified.
[WARNING] cpu_adam requires the 'lscpu' command, but it does not exist!
[WARNING] cpu_adam attempted to query 'lscpu' after failing to use py-cpuinfo to detect the CPU architecture. 'lscpu' does not appear to exist on your system, will fall back to use -march=native and non-vectorized execution.
The filename, directory name, or volume label syntax is incorrect.
The system cannot find the file specified.
[WARNING] cpu_adam requires the 'lscpu' command, but it does not exist!
[WARNING] cpu_adam attempted to query 'lscpu' after failing to use py-cpuinfo to detect the CPU architecture. 'lscpu' does not appear to exist on your system, will fall back to use -march=native and non-vectorized execution.
The filename, directory name, or volume label syntax is incorrect.
The system cannot find the file specified.
[WARNING] cpu_adagrad requires the 'lscpu' command, but it does not exist!
[WARNING] cpu_adagrad attempted to query 'lscpu' after failing to use py-cpuinfo to detect the CPU architecture. 'lscpu' does not appear to exist on your system, will fall back to use -march=native and non-vectorized execution.
The filename, directory name, or volume label syntax is incorrect.
The system cannot find the file specified.
[WARNING] cpu_adagrad requires the 'lscpu' command, but it does not exist!
[WARNING] cpu_adagrad attempted to query 'lscpu' after failing to use py-cpuinfo to detect the CPU architecture. 'lscpu' does not appear to exist on your system, will fall back to use -march=native and non-vectorized execution.
[WARNING] please install triton==1.0.0 if you want to use sparse attention
[WARNING] async_io requires the dev libaio .so object and headers but these were not found.
[WARNING] If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
Install Ops={'cpu_adam': 1, 'cpu_adagrad': 1, 'fused_adam': 1, 'fused_lamb': 1, 'sparse_attn': False, 'transformer': 1, 'stochastic_transformer': 1, 'async_io': False, 'utils': 1, 'quantizer': 1, 'transformer_inference': 1}
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
version=0.7.4+unknown, git_hash=unknown, git_branch=unknown
install_requires=['hjson', 'ninja', 'numpy', 'packaging', 'psutil', 'py-cpuinfo', 'pydantic', 'torch', 'tqdm']
compatible_ops={'cpu_adam': True, 'cpu_adagrad': True, 'fused_adam': True, 'fused_lamb': True, 'sparse_attn': False, 'transformer': True, 'stochastic_transformer': True, 'async_io': False, 'utils': True, 'quantizer': True, 'transformer_inference': True}
ext_modules=[<setuptools.extension.Extension('deepspeed.ops.adam.cpu_adam_op') at 0x1cd61da6380>, <setuptools.extension.Extension('deepspeed.ops.adagrad.cpu_adagrad_op') at 0x1cd7ae15ed0>, <setuptools.extension.Extension('deepspeed.ops.adam.fused_adam_op') at 0x1cd7ae168c0>, <setuptools.extension.Extension('deepspeed.ops.lamb.fused_lamb_op') at 0x1cd7ae16d70>, <setuptools.extension.Extension('deepspeed.ops.transformer.transformer_op') at 0x1cd7ae16a70>, <setuptools.extension.Extension('deepspeed.ops.transformer.stochastic_transformer_op') at 0x1cd7ae174c0>, <setuptools.extension.Extension('deepspeed.ops.utils_op') at 0x1cd7ae16f50>, <setuptools.extension.Extension('deepspeed.ops.quantizer.quantizer_op') at 0x1cd7ae16da0>, <setuptools.extension.Extension('deepspeed.ops.transformer.inference.transformer_inference_op') at 0x1cd7ae16c80>]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-cpython-310
creating build\lib.win32-cpython-310\benchmarks
copying benchmarks\__init__.py -> build\lib.win32-cpython-310\benchmarks
creating build\lib.win32-cpython-310\deepspeed
copying deepspeed\constants.py -> build\lib.win32-cpython-310\deepspeed
copying deepspeed\env_report.py -> build\lib.win32-cpython-310\deepspeed
copying deepspeed\git_version_info.py -> build\lib.win32-cpython-310\deepspeed
copying deepspeed\git_version_info_installed.py -> build\lib.win32-cpython-310\deepspeed
copying deepspeed\__init__.py -> build\lib.win32-cpython-310\deepspeed
creating build\lib.win32-cpython-310\benchmarks\communication
copying benchmarks\communication\all_gather.py -> build\lib.win32-cpython-310\benchmarks\communication
copying benchmarks\communication\all_reduce.py -> build\lib.win32-cpython-310\benchmarks\communication
copying benchmarks\communication\all_to_all.py -> build\lib.win32-cpython-310\benchmarks\communication
copying benchmarks\communication\broadcast.py -> build\lib.win32-cpython-310\benchmarks\communication
copying benchmarks\communication\constants.py -> build\lib.win32-cpython-310\benchmarks\communication
copying benchmarks\communication\pt2pt.py -> build\lib.win32-cpython-310\benchmarks\communication
copying benchmarks\communication\run_all.py -> build\lib.win32-cpython-310\benchmarks\communication
copying benchmarks\communication\utils.py -> build\lib.win32-cpython-310\benchmarks\communication
copying benchmarks\communication\__init__.py -> build\lib.win32-cpython-310\benchmarks\communication
creating build\lib.win32-cpython-310\deepspeed\autotuning
copying deepspeed\autotuning\autotuner.py -> build\lib.win32-cpython-310\deepspeed\autotuning
copying deepspeed\autotuning\config.py -> build\lib.win32-cpython-310\deepspeed\autotuning
copying deepspeed\autotuning\constants.py -> build\lib.win32-cpython-310\deepspeed\autotuning
copying deepspeed\autotuning\scheduler.py -> build\lib.win32-cpython-310\deepspeed\autotuning
copying deepspeed\autotuning\utils.py -> build\lib.win32-cpython-310\deepspeed\autotuning
copying deepspeed\autotuning\__init__.py -> build\lib.win32-cpython-310\deepspeed\autotuning
creating build\lib.win32-cpython-310\deepspeed\checkpoint
copying deepspeed\checkpoint\constants.py -> build\lib.win32-cpython-310\deepspeed\checkpoint
copying deepspeed\checkpoint\deepspeed_checkpoint.py -> build\lib.win32-cpython-310\deepspeed\checkpoint
copying deepspeed\checkpoint\reshape_3d_utils.py -> build\lib.win32-cpython-310\deepspeed\checkpoint
copying deepspeed\checkpoint\reshape_meg_2d.py -> build\lib.win32-cpython-310\deepspeed\checkpoint
copying deepspeed\checkpoint\reshape_utils.py -> build\lib.win32-cpython-310\deepspeed\checkpoint
copying deepspeed\checkpoint\universal_checkpoint.py -> build\lib.win32-cpython-310\deepspeed\checkpoint
copying deepspeed\checkpoint\utils.py -> build\lib.win32-cpython-310\deepspeed\checkpoint
copying deepspeed\checkpoint\zero_checkpoint.py -> build\lib.win32-cpython-310\deepspeed\checkpoint
copying deepspeed\checkpoint\__init__.py -> build\lib.win32-cpython-310\deepspeed\checkpoint
creating build\lib.win32-cpython-310\deepspeed\comm
copying deepspeed\comm\backend.py -> build\lib.win32-cpython-310\deepspeed\comm
copying deepspeed\comm\comm.py -> build\lib.win32-cpython-310\deepspeed\comm
copying deepspeed\comm\config.py -> build\lib.win32-cpython-310\deepspeed\comm
copying deepspeed\comm\constants.py -> build\lib.win32-cpython-310\deepspeed\comm
copying deepspeed\comm\torch.py -> build\lib.win32-cpython-310\deepspeed\comm
copying deepspeed\comm\utils.py -> build\lib.win32-cpython-310\deepspeed\comm
copying deepspeed\comm\__init__.py -> build\lib.win32-cpython-310\deepspeed\comm
creating build\lib.win32-cpython-310\deepspeed\compression
copying deepspeed\compression\basic_layer.py -> build\lib.win32-cpython-310\deepspeed\compression
copying deepspeed\compression\compress.py -> build\lib.win32-cpython-310\deepspeed\compression
copying deepspeed\compression\config.py -> build\lib.win32-cpython-310\deepspeed\compression
copying deepspeed\compression\constants.py -> build\lib.win32-cpython-310\deepspeed\compression
copying deepspeed\compression\helper.py -> build\lib.win32-cpython-310\deepspeed\compression
copying deepspeed\compression\scheduler.py -> build\lib.win32-cpython-310\deepspeed\compression
copying deepspeed\compression\utils.py -> build\lib.win32-cpython-310\deepspeed\compression
copying deepspeed\compression\__init__.py -> build\lib.win32-cpython-310\deepspeed\compression
creating build\lib.win32-cpython-310\deepspeed\elasticity
copying deepspeed\elasticity\config.py -> build\lib.win32-cpython-310\deepspeed\elasticity
copying deepspeed\elasticity\constants.py -> build\lib.win32-cpython-310\deepspeed\elasticity
copying deepspeed\elasticity\elasticity.py -> build\lib.win32-cpython-310\deepspeed\elasticity
copying deepspeed\elasticity\elastic_agent.py -> build\lib.win32-cpython-310\deepspeed\elasticity
copying deepspeed\elasticity\utils.py -> build\lib.win32-cpython-310\deepspeed\elasticity
copying deepspeed\elasticity\__init__.py -> build\lib.win32-cpython-310\deepspeed\elasticity
creating build\lib.win32-cpython-310\deepspeed\inference
copying deepspeed\inference\engine.py -> build\lib.win32-cpython-310\deepspeed\inference
copying deepspeed\inference\__init__.py -> build\lib.win32-cpython-310\deepspeed\inference
creating build\lib.win32-cpython-310\deepspeed\launcher
copying deepspeed\launcher\constants.py -> build\lib.win32-cpython-310\deepspeed\launcher
copying deepspeed\launcher\launch.py -> build\lib.win32-cpython-310\deepspeed\launcher
copying deepspeed\launcher\multinode_runner.py -> build\lib.win32-cpython-310\deepspeed\launcher
copying deepspeed\launcher\runner.py -> build\lib.win32-cpython-310\deepspeed\launcher
copying deepspeed\launcher\__init__.py -> build\lib.win32-cpython-310\deepspeed\launcher
creating build\lib.win32-cpython-310\deepspeed\module_inject
copying deepspeed\module_inject\encoder.py -> build\lib.win32-cpython-310\deepspeed\module_inject
copying deepspeed\module_inject\inject.py -> build\lib.win32-cpython-310\deepspeed\module_inject
copying deepspeed\module_inject\layers.py -> build\lib.win32-cpython-310\deepspeed\module_inject
copying deepspeed\module_inject\load_checkpoint.py -> build\lib.win32-cpython-310\deepspeed\module_inject
copying deepspeed\module_inject\module_quantize.py -> build\lib.win32-cpython-310\deepspeed\module_inject
copying deepspeed\module_inject\replace_module.py -> build\lib.win32-cpython-310\deepspeed\module_inject
copying deepspeed\module_inject\replace_policy.py -> build\lib.win32-cpython-310\deepspeed\module_inject
copying deepspeed\module_inject\unet.py -> build\lib.win32-cpython-310\deepspeed\module_inject
copying deepspeed\module_inject\__init__.py -> build\lib.win32-cpython-310\deepspeed\module_inject
creating build\lib.win32-cpython-310\deepspeed\moe
copying deepspeed\moe\experts.py -> build\lib.win32-cpython-310\deepspeed\moe
copying deepspeed\moe\layer.py -> build\lib.win32-cpython-310\deepspeed\moe
copying deepspeed\moe\mappings.py -> build\lib.win32-cpython-310\deepspeed\moe
copying deepspeed\moe\sharded_moe.py -> build\lib.win32-cpython-310\deepspeed\moe
copying deepspeed\moe\utils.py -> build\lib.win32-cpython-310\deepspeed\moe
copying deepspeed\moe\__init__.py -> build\lib.win32-cpython-310\deepspeed\moe
creating build\lib.win32-cpython-310\deepspeed\monitor
copying deepspeed\monitor\config.py -> build\lib.win32-cpython-310\deepspeed\monitor
copying deepspeed\monitor\constants.py -> build\lib.win32-cpython-310\deepspeed\monitor
copying deepspeed\monitor\csv_monitor.py -> build\lib.win32-cpython-310\deepspeed\monitor
copying deepspeed\monitor\monitor.py -> build\lib.win32-cpython-310\deepspeed\monitor
copying deepspeed\monitor\tensorboard.py -> build\lib.win32-cpython-310\deepspeed\monitor
copying deepspeed\monitor\utils.py -> build\lib.win32-cpython-310\deepspeed\monitor
copying deepspeed\monitor\wandb.py -> build\lib.win32-cpython-310\deepspeed\monitor
copying deepspeed\monitor\__init__.py -> build\lib.win32-cpython-310\deepspeed\monitor
creating build\lib.win32-cpython-310\deepspeed\nebula
copying deepspeed\nebula\config.py -> build\lib.win32-cpython-310\deepspeed\nebula
copying deepspeed\nebula\constants.py -> build\lib.win32-cpython-310\deepspeed\nebula
copying deepspeed\nebula\__init__.py -> build\lib.win32-cpython-310\deepspeed\nebula
creating build\lib.win32-cpython-310\deepspeed\ops
copying deepspeed\ops\__init__.py -> build\lib.win32-cpython-310\deepspeed\ops
creating build\lib.win32-cpython-310\deepspeed\pipe
copying deepspeed\pipe\__init__.py -> build\lib.win32-cpython-310\deepspeed\pipe
creating build\lib.win32-cpython-310\deepspeed\profiling
copying deepspeed\profiling\config.py -> build\lib.win32-cpython-310\deepspeed\profiling
copying deepspeed\profiling\constants.py -> build\lib.win32-cpython-310\deepspeed\profiling
copying deepspeed\profiling\__init__.py -> build\lib.win32-cpython-310\deepspeed\profiling
creating build\lib.win32-cpython-310\deepspeed\runtime
copying deepspeed\runtime\bf16_optimizer.py -> build\lib.win32-cpython-310\deepspeed\runtime
copying deepspeed\runtime\config.py -> build\lib.win32-cpython-310\deepspeed\runtime
copying deepspeed\runtime\config_utils.py -> build\lib.win32-cpython-310\deepspeed\runtime
copying deepspeed\runtime\constants.py -> build\lib.win32-cpython-310\deepspeed\runtime
copying deepspeed\runtime\dataloader.py -> build\lib.win32-cpython-310\deepspeed\runtime
copying deepspeed\runtime\eigenvalue.py -> build\lib.win32-cpython-310\deepspeed\runtime
copying deepspeed\runtime\engine.py -> build\lib.win32-cpython-310\deepspeed\runtime
copying deepspeed\runtime\lr_schedules.py -> build\lib.win32-cpython-310\deepspeed\runtime
copying deepspeed\runtime\progressive_layer_drop.py -> build\lib.win32-cpython-310\deepspeed\runtime
copying deepspeed\runtime\quantize.py -> build\lib.win32-cpython-310\deepspeed\runtime
copying deepspeed\runtime\sparse_tensor.py -> build\lib.win32-cpython-310\deepspeed\runtime
copying deepspeed\runtime\state_dict_factory.py -> build\lib.win32-cpython-310\deepspeed\runtime
copying deepspeed\runtime\utils.py -> build\lib.win32-cpython-310\deepspeed\runtime
copying deepspeed\runtime\weight_quantizer.py -> build\lib.win32-cpython-310\deepspeed\runtime
copying deepspeed\runtime\__init__.py -> build\lib.win32-cpython-310\deepspeed\runtime
creating build\lib.win32-cpython-310\deepspeed\utils
copying deepspeed\utils\comms_logging.py -> build\lib.win32-cpython-310\deepspeed\utils
copying deepspeed\utils\debug.py -> build\lib.win32-cpython-310\deepspeed\utils
copying deepspeed\utils\exceptions.py -> build\lib.win32-cpython-310\deepspeed\utils
copying deepspeed\utils\groups.py -> build\lib.win32-cpython-310\deepspeed\utils
copying deepspeed\utils\init_on_device.py -> build\lib.win32-cpython-310\deepspeed\utils
copying deepspeed\utils\logging.py -> build\lib.win32-cpython-310\deepspeed\utils
copying deepspeed\utils\mixed_precision_linkage.py -> build\lib.win32-cpython-310\deepspeed\utils
copying deepspeed\utils\nvtx.py -> build\lib.win32-cpython-310\deepspeed\utils
copying deepspeed\utils\tensor_fragment.py -> build\lib.win32-cpython-310\deepspeed\utils
copying deepspeed\utils\timer.py -> build\lib.win32-cpython-310\deepspeed\utils
copying deepspeed\utils\types.py -> build\lib.win32-cpython-310\deepspeed\utils
copying deepspeed\utils\zero_to_fp32.py -> build\lib.win32-cpython-310\deepspeed\utils
copying deepspeed\utils\__init__.py -> build\lib.win32-cpython-310\deepspeed\utils
creating build\lib.win32-cpython-310\deepspeed\autotuning\tuner
copying deepspeed\autotuning\tuner\base_tuner.py -> build\lib.win32-cpython-310\deepspeed\autotuning\tuner
copying deepspeed\autotuning\tuner\cost_model.py -> build\lib.win32-cpython-310\deepspeed\autotuning\tuner
copying deepspeed\autotuning\tuner\index_based_tuner.py -> build\lib.win32-cpython-310\deepspeed\autotuning\tuner
copying deepspeed\autotuning\tuner\model_based_tuner.py -> build\lib.win32-cpython-310\deepspeed\autotuning\tuner
copying deepspeed\autotuning\tuner\utils.py -> build\lib.win32-cpython-310\deepspeed\autotuning\tuner
copying deepspeed\autotuning\tuner\__init__.py -> build\lib.win32-cpython-310\deepspeed\autotuning\tuner
creating build\lib.win32-cpython-310\deepspeed\ops\adagrad
copying deepspeed\ops\adagrad\cpu_adagrad.py -> build\lib.win32-cpython-310\deepspeed\ops\adagrad
copying deepspeed\ops\adagrad\__init__.py -> build\lib.win32-cpython-310\deepspeed\ops\adagrad
creating build\lib.win32-cpython-310\deepspeed\ops\adam
copying deepspeed\ops\adam\cpu_adam.py -> build\lib.win32-cpython-310\deepspeed\ops\adam
copying deepspeed\ops\adam\fused_adam.py -> build\lib.win32-cpython-310\deepspeed\ops\adam
copying deepspeed\ops\adam\multi_tensor_apply.py -> build\lib.win32-cpython-310\deepspeed\ops\adam
copying deepspeed\ops\adam\__init__.py -> build\lib.win32-cpython-310\deepspeed\ops\adam
creating build\lib.win32-cpython-310\deepspeed\ops\aio
copying deepspeed\ops\aio\__init__.py -> build\lib.win32-cpython-310\deepspeed\ops\aio
creating build\lib.win32-cpython-310\deepspeed\ops\lamb
copying deepspeed\ops\lamb\fused_lamb.py -> build\lib.win32-cpython-310\deepspeed\ops\lamb
copying deepspeed\ops\lamb\__init__.py -> build\lib.win32-cpython-310\deepspeed\ops\lamb
creating build\lib.win32-cpython-310\deepspeed\ops\op_builder
copying deepspeed\ops\op_builder\async_io.py -> build\lib.win32-cpython-310\deepspeed\ops\op_builder
copying deepspeed\ops\op_builder\builder.py -> build\lib.win32-cpython-310\deepspeed\ops\op_builder
copying deepspeed\ops\op_builder\cpu_adagrad.py -> build\lib.win32-cpython-310\deepspeed\ops\op_builder
copying deepspeed\ops\op_builder\cpu_adam.py -> build\lib.win32-cpython-310\deepspeed\ops\op_builder
copying deepspeed\ops\op_builder\fused_adam.py -> build\lib.win32-cpython-310\deepspeed\ops\op_builder
copying deepspeed\ops\op_builder\fused_lamb.py -> build\lib.win32-cpython-310\deepspeed\ops\op_builder
copying deepspeed\ops\op_builder\quantizer.py -> build\lib.win32-cpython-310\deepspeed\ops\op_builder
copying deepspeed\ops\op_builder\sparse_attn.py -> build\lib.win32-cpython-310\deepspeed\ops\op_builder
copying deepspeed\ops\op_builder\stochastic_transformer.py -> build\lib.win32-cpython-310\deepspeed\ops\op_builder
copying deepspeed\ops\op_builder\transformer.py -> build\lib.win32-cpython-310\deepspeed\ops\op_builder
copying deepspeed\ops\op_builder\transformer_inference.py -> build\lib.win32-cpython-310\deepspeed\ops\op_builder
copying deepspeed\ops\op_builder\utils.py -> build\lib.win32-cpython-310\deepspeed\ops\op_builder
copying deepspeed\ops\op_builder\__init__.py -> build\lib.win32-cpython-310\deepspeed\ops\op_builder
creating build\lib.win32-cpython-310\deepspeed\ops\quantizer
copying deepspeed\ops\quantizer\quantizer.py -> build\lib.win32-cpython-310\deepspeed\ops\quantizer
copying deepspeed\ops\quantizer\__init__.py -> build\lib.win32-cpython-310\deepspeed\ops\quantizer
creating build\lib.win32-cpython-310\deepspeed\ops\sparse_attention
copying deepspeed\ops\sparse_attention\bert_sparse_self_attention.py -> build\lib.win32-cpython-310\deepspeed\ops\sparse_attention
copying deepspeed\ops\sparse_attention\matmul.py -> build\lib.win32-cpython-310\deepspeed\ops\sparse_attention
copying deepspeed\ops\sparse_attention\softmax.py -> build\lib.win32-cpython-310\deepspeed\ops\sparse_attention
copying deepspeed\ops\sparse_attention\sparse_attention_utils.py -> build\lib.win32-cpython-310\deepspeed\ops\sparse_attention
copying deepspeed\ops\sparse_attention\sparse_self_attention.py -> build\lib.win32-cpython-310\deepspeed\ops\sparse_attention
copying deepspeed\ops\sparse_attention\sparsity_config.py -> build\lib.win32-cpython-310\deepspeed\ops\sparse_attention
copying deepspeed\ops\sparse_attention\__init__.py -> build\lib.win32-cpython-310\deepspeed\ops\sparse_attention
creating build\lib.win32-cpython-310\deepspeed\ops\transformer
copying deepspeed\ops\transformer\transformer.py -> build\lib.win32-cpython-310\deepspeed\ops\transformer
copying deepspeed\ops\transformer\__init__.py -> build\lib.win32-cpython-310\deepspeed\ops\transformer
creating build\lib.win32-cpython-310\deepspeed\ops\sparse_attention\trsrc
copying deepspeed\ops\sparse_attention\trsrc\__init__.py -> build\lib.win32-cpython-310\deepspeed\ops\sparse_attention\trsrc
creating build\lib.win32-cpython-310\deepspeed\ops\transformer\inference
copying deepspeed\ops\transformer\inference\attention.py -> build\lib.win32-cpython-310\deepspeed\ops\transformer\inference
copying deepspeed\ops\transformer\inference\moe_inference.py -> build\lib.win32-cpython-310\deepspeed\ops\transformer\inference
copying deepspeed\ops\transformer\inference\transformer_inference.py -> build\lib.win32-cpython-310\deepspeed\ops\transformer\inference
copying deepspeed\ops\transformer\inference\triton_ops.py -> build\lib.win32-cpython-310\deepspeed\ops\transformer\inference
copying deepspeed\ops\transformer\inference\__init__.py -> build\lib.win32-cpython-310\deepspeed\ops\transformer\inference
creating build\lib.win32-cpython-310\deepspeed\profiling\flops_profiler
copying deepspeed\profiling\flops_profiler\profiler.py -> build\lib.win32-cpython-310\deepspeed\profiling\flops_profilercopying deepspeed\profiling\flops_profiler\__init__.py -> build\lib.win32-cpython-310\deepspeed\profiling\flops_profilercreating build\lib.win32-cpython-310\deepspeed\runtime\activation_checkpointing
copying deepspeed\runtime\activation_checkpointing\checkpointing.py -> build\lib.win32-cpython-310\deepspeed\runtime\activation_checkpointing
copying deepspeed\runtime\activation_checkpointing\config.py -> build\lib.win32-cpython-310\deepspeed\runtime\activation_checkpointing
copying deepspeed\runtime\activation_checkpointing\__init__.py -> build\lib.win32-cpython-310\deepspeed\runtime\activation_checkpointing
creating build\lib.win32-cpython-310\deepspeed\runtime\checkpoint_engine
copying deepspeed\runtime\checkpoint_engine\checkpoint_engine.py -> build\lib.win32-cpython-310\deepspeed\runtime\checkpoint_engine
copying deepspeed\runtime\checkpoint_engine\nebula_checkpoint_engine.py -> build\lib.win32-cpython-310\deepspeed\runtime\checkpoint_engine
copying deepspeed\runtime\checkpoint_engine\torch_checkpoint_engine.py -> build\lib.win32-cpython-310\deepspeed\runtime\checkpoint_engine
copying deepspeed\runtime\checkpoint_engine\__init__.py -> build\lib.win32-cpython-310\deepspeed\runtime\checkpoint_engine
creating build\lib.win32-cpython-310\deepspeed\runtime\comm
copying deepspeed\runtime\comm\coalesced_collectives.py -> build\lib.win32-cpython-310\deepspeed\runtime\comm
copying deepspeed\runtime\comm\mpi.py -> build\lib.win32-cpython-310\deepspeed\runtime\comm
copying deepspeed\runtime\comm\nccl.py -> build\lib.win32-cpython-310\deepspeed\runtime\comm
copying deepspeed\runtime\comm\__init__.py -> build\lib.win32-cpython-310\deepspeed\runtime\comm
creating build\lib.win32-cpython-310\deepspeed\runtime\compression
copying deepspeed\runtime\compression\cupy.py -> build\lib.win32-cpython-310\deepspeed\runtime\compression
copying deepspeed\runtime\compression\__init__.py -> build\lib.win32-cpython-310\deepspeed\runtime\compression
creating build\lib.win32-cpython-310\deepspeed\runtime\data_pipeline
copying deepspeed\runtime\data_pipeline\curriculum_scheduler.py -> build\lib.win32-cpython-310\deepspeed\runtime\data_pipeline
copying deepspeed\runtime\data_pipeline\__init__.py -> build\lib.win32-cpython-310\deepspeed\runtime\data_pipeline
creating build\lib.win32-cpython-310\deepspeed\runtime\fp16
copying deepspeed\runtime\fp16\fused_optimizer.py -> build\lib.win32-cpython-310\deepspeed\runtime\fp16
copying deepspeed\runtime\fp16\loss_scaler.py -> build\lib.win32-cpython-310\deepspeed\runtime\fp16
copying deepspeed\runtime\fp16\unfused_optimizer.py -> build\lib.win32-cpython-310\deepspeed\runtime\fp16
copying deepspeed\runtime\fp16\__init__.py -> build\lib.win32-cpython-310\deepspeed\runtime\fp16
creating build\lib.win32-cpython-310\deepspeed\runtime\pipe
copying deepspeed\runtime\pipe\engine.py -> build\lib.win32-cpython-310\deepspeed\runtime\pipe
copying deepspeed\runtime\pipe\module.py -> build\lib.win32-cpython-310\deepspeed\runtime\pipe
copying deepspeed\runtime\pipe\p2p.py -> build\lib.win32-cpython-310\deepspeed\runtime\pipe
copying deepspeed\runtime\pipe\schedule.py -> build\lib.win32-cpython-310\deepspeed\runtime\pipe
copying deepspeed\runtime\pipe\topology.py -> build\lib.win32-cpython-310\deepspeed\runtime\pipe
copying deepspeed\runtime\pipe\__init__.py -> build\lib.win32-cpython-310\deepspeed\runtime\pipe
creating build\lib.win32-cpython-310\deepspeed\runtime\swap_tensor
copying deepspeed\runtime\swap_tensor\aio_config.py -> build\lib.win32-cpython-310\deepspeed\runtime\swap_tensor
copying deepspeed\runtime\swap_tensor\async_swapper.py -> build\lib.win32-cpython-310\deepspeed\runtime\swap_tensor
copying deepspeed\runtime\swap_tensor\constants.py -> build\lib.win32-cpython-310\deepspeed\runtime\swap_tensor
copying deepspeed\runtime\swap_tensor\optimizer_utils.py -> build\lib.win32-cpython-310\deepspeed\runtime\swap_tensor
copying deepspeed\runtime\swap_tensor\partitioned_optimizer_swapper.py -> build\lib.win32-cpython-310\deepspeed\runtime\swap_tensor
copying deepspeed\runtime\swap_tensor\partitioned_param_swapper.py -> build\lib.win32-cpython-310\deepspeed\runtime\swap_tensor
copying deepspeed\runtime\swap_tensor\pipelined_optimizer_swapper.py -> build\lib.win32-cpython-310\deepspeed\runtime\swap_tensor
copying deepspeed\runtime\swap_tensor\utils.py -> build\lib.win32-cpython-310\deepspeed\runtime\swap_tensor
copying deepspeed\runtime\swap_tensor\__init__.py -> build\lib.win32-cpython-310\deepspeed\runtime\swap_tensor
creating build\lib.win32-cpython-310\deepspeed\runtime\zero
copying deepspeed\runtime\zero\config.py -> build\lib.win32-cpython-310\deepspeed\runtime\zero
copying deepspeed\runtime\zero\contiguous_memory_allocator.py -> build\lib.win32-cpython-310\deepspeed\runtime\zero
copying deepspeed\runtime\zero\linear.py -> build\lib.win32-cpython-310\deepspeed\runtime\zero
copying deepspeed\runtime\zero\offload_config.py -> build\lib.win32-cpython-310\deepspeed\runtime\zero
copying deepspeed\runtime\zero\parameter_offload.py -> build\lib.win32-cpython-310\deepspeed\runtime\zero
copying deepspeed\runtime\zero\partitioned_param_coordinator.py -> build\lib.win32-cpython-310\deepspeed\runtime\zero
copying deepspeed\runtime\zero\partition_parameters.py -> build\lib.win32-cpython-310\deepspeed\runtime\zero
copying deepspeed\runtime\zero\stage3.py -> build\lib.win32-cpython-310\deepspeed\runtime\zero
copying deepspeed\runtime\zero\stage_1_and_2.py -> build\lib.win32-cpython-310\deepspeed\runtime\zero
copying deepspeed\runtime\zero\test.py -> build\lib.win32-cpython-310\deepspeed\runtime\zero
copying deepspeed\runtime\zero\tiling.py -> build\lib.win32-cpython-310\deepspeed\runtime\zero
copying deepspeed\runtime\zero\utils.py -> build\lib.win32-cpython-310\deepspeed\runtime\zero
copying deepspeed\runtime\zero\__init__.py -> build\lib.win32-cpython-310\deepspeed\runtime\zero
creating build\lib.win32-cpython-310\deepspeed\runtime\fp16\onebit
copying deepspeed\runtime\fp16\onebit\adam.py -> build\lib.win32-cpython-310\deepspeed\runtime\fp16\onebit
copying deepspeed\runtime\fp16\onebit\lamb.py -> build\lib.win32-cpython-310\deepspeed\runtime\fp16\onebit
copying deepspeed\runtime\fp16\onebit\zoadam.py -> build\lib.win32-cpython-310\deepspeed\runtime\fp16\onebit
copying deepspeed\runtime\fp16\onebit\__init__.py -> build\lib.win32-cpython-310\deepspeed\runtime\fp16\onebit
running egg_info
creating deepspeed.egg-info
writing deepspeed.egg-info\PKG-INFO
writing dependency_links to deepspeed.egg-info\dependency_links.txt
writing entry points to deepspeed.egg-info\entry_points.txt
writing requirements to deepspeed.egg-info\requires.txt
writing top-level names to deepspeed.egg-info\top_level.txt
writing manifest file 'deepspeed.egg-info\SOURCES.txt'
reading manifest file 'deepspeed.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST_win.in'
warning: no previously-included files matching '*.cpp' found under directory 'deepspeed\ops\csrc'
warning: no previously-included files matching '*.h' found under directory 'deepspeed\ops\csrc'
warning: no previously-included files matching '*.cu' found under directory 'deepspeed\ops\csrc'
warning: no previously-included files matching '*.cuh' found under directory 'deepspeed\ops\csrc'
warning: no previously-included files matching '*.cc' found under directory 'deepspeed\ops\csrc'
no previously-included directories found matching 'csrc'
no previously-included directories found matching 'op_builder'
adding license file 'LICENSE'
writing manifest file 'deepspeed.egg-info\SOURCES.txt'
copying deepspeed\ops\sparse_attention\trsrc\matmul.tr -> build\lib.win32-cpython-310\deepspeed\ops\sparse_attention\trsrc
copying deepspeed\ops\sparse_attention\trsrc\softmax_bwd.tr -> build\lib.win32-cpython-310\deepspeed\ops\sparse_attention\trsrc
copying deepspeed\ops\sparse_attention\trsrc\softmax_fwd.tr -> build\lib.win32-cpython-310\deepspeed\ops\sparse_attention\trsrc
running build_ext
Traceback (most recent call last):
File "C:\Users\PC\Desktop\diffusers\examples\dreambooth\DeepSpeed\setup.py", line 266, in <module>
setup(name='deepspeed',
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\__init__.py", line 87, in setup return distutils.core.setup(**attrs)
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\_distutils\core.py", line 177, in setup
return run_commands(dist)
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\_distutils\core.py", line 193, in run_commands
dist.run_commands()
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\_distutils\dist.py", line 968, in run_commands
self.run_command(cmd)
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
self.run_command('build')
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\_distutils\cmd.py", line 317, in run_command
self.distribution.run_command(command)
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\build.py", line 24, in run
super().run()
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
self.run_command(cmd_name)
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\_distutils\cmd.py", line 317, in run_command
self.distribution.run_command(command)
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\build_ext.py", line 79, in run
_build_ext.run(self)
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils\cpp_extension.py", line 420, in build_extensions
compiler_name, compiler_version = self._check_abi()
File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils\cpp_extension.py", line 797, in _check_abi
raise UserWarning(msg)
UserWarning: It seems that the VC environment is activated but DISTUTILS_USE_SDK is not set.This may lead to multiple activations of the VC env.Please set `DISTUTILS_USE_SDK=1` and try again.
C:\Users\PC\Desktop\diffusers\examples\dreambooth\DeepSpeed>set DISTUTILS_USE_SDK=1
C:\Users\PC\Desktop\diffusers\examples\dreambooth\DeepSpeed>build_win.bat
Administrative permissions required. Detecting permissions...
Success: Administrative permissions confirmed.
DS_BUILD_OPS=1
The filename, directory name, or volume label syntax is incorrect.
The system cannot find the file specified.
[WARNING] cpu_adam requires the 'lscpu' command, but it does not exist!
[WARNING] cpu_adam attempted to query 'lscpu' after failing to use py-cpuinfo to detect the CPU architecture. 'lscpu' does not appear to exist on your system, will fall back to use -march=native and non-vectorized execution.
The filename, directory name, or volume label syntax is incorrect.
The system cannot find the file specified.
[WARNING] cpu_adam requires the 'lscpu' command, but it does not exist!
[WARNING] cpu_adam attempted to query 'lscpu' after failing to use py-cpuinfo to detect the CPU architecture. 'lscpu' does not appear to exist on your system, will fall back to use -march=native and non-vectorized execution.
The filename, directory name, or volume label syntax is incorrect.
The system cannot find the file specified.
[WARNING] cpu_adagrad requires the 'lscpu' command, but it does not exist!
[WARNING] cpu_adagrad attempted to query 'lscpu' after failing to use py-cpuinfo to detect the CPU architecture. 'lscpu' does not appear to exist on your system, will fall back to use -march=native and non-vectorized execution.
The filename, directory name, or volume label syntax is incorrect.
The system cannot find the file specified.
[WARNING] cpu_adagrad requires the 'lscpu' command, but it does not exist!
[WARNING] cpu_adagrad attempted to query 'lscpu' after failing to use py-cpuinfo to detect the CPU architecture. 'lscpu' does not appear to exist on your system, will fall back to use -march=native and non-vectorized execution.
[WARNING] please install triton==1.0.0 if you want to use sparse attention
test.c
LINK : fatal error LNK1181: cannot open input file 'aio.lib'
[WARNING] async_io requires the dev libaio .so object and headers but these were not found.
[WARNING] If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
Install Ops={'cpu_adam': 1, 'cpu_adagrad': 1, 'fused_adam': 1, 'fused_lamb': 1, 'sparse_attn': False, 'transformer': 1, 'stochastic_transformer': 1, 'async_io': False, 'utils': 1, 'quantizer': 1, 'transformer_inference': 1}
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
version=0.7.4+unknown, git_hash=unknown, git_branch=unknown
install_requires=['hjson', 'ninja', 'numpy', 'packaging', 'psutil', 'py-cpuinfo', 'pydantic', 'torch', 'tqdm']
compatible_ops={'cpu_adam': True, 'cpu_adagrad': True, 'fused_adam': True, 'fused_lamb': True, 'sparse_attn': False, 'transformer': True, 'stochastic_transformer': True, 'async_io': False, 'utils': True, 'quantizer': True, 'transformer_inference': True}
ext_modules=[<setuptools.extension.Extension('deepspeed.ops.adam.cpu_adam_op') at 0x276649c15d0>, <setuptools.extension.Extension('deepspeed.ops.adagrad.cpu_adagrad_op') at 0x27664942470>, <setuptools.extension.Extension('deepspeed.ops.adam.fused_adam_op') at 0x27664941ff0>, <setuptools.extension.Extension('deepspeed.ops.lamb.fused_lamb_op') at 0x27664942590>, <setuptools.extension.Extension('deepspeed.ops.transformer.transformer_op') at 0x27664942500>, <setuptools.extension.Extension('deepspeed.ops.transformer.stochastic_transformer_op') at 0x27664942050>, <setuptools.extension.Extension('deepspeed.ops.utils_op') at 0x276649420e0>, <setuptools.extension.Extension('deepspeed.ops.quantizer.quantizer_op') at 0x276649427a0>, <setuptools.extension.Extension('deepspeed.ops.transformer.inference.transformer_inference_op') at 0x27664942170>]
running bdist_wheel
running build
running build_py
copying deepspeed\git_version_info_installed.py -> build\lib.win32-cpython-310\deepspeed
running egg_info
writing deepspeed.egg-info\PKG-INFO
writing dependency_links to deepspeed.egg-info\dependency_links.txt
writing entry points to deepspeed.egg-info\entry_points.txt
writing requirements to deepspeed.egg-info\requires.txt
writing top-level names to deepspeed.egg-info\top_level.txt
reading manifest file 'deepspeed.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST_win.in'
warning: no previously-included files matching '*.cpp' found under directory 'deepspeed\ops\csrc'
warning: no previously-included files matching '*.h' found under directory 'deepspeed\ops\csrc'
warning: no previously-included files matching '*.cu' found under directory 'deepspeed\ops\csrc'
warning: no previously-included files matching '*.cuh' found under directory 'deepspeed\ops\csrc'
warning: no previously-included files matching '*.cc' found under directory 'deepspeed\ops\csrc'
no previously-included directories found matching 'op_builder'
adding license file 'LICENSE'
writing manifest file 'deepspeed.egg-info\SOURCES.txt'
running build_ext
building 'deepspeed.ops.adam.cpu_adam_op' extension
creating build\temp.win32-cpython-310
creating build\temp.win32-cpython-310\Release
creating build\temp.win32-cpython-310\Release\csrc
creating build\temp.win32-cpython-310\Release\csrc\adam
creating build\temp.win32-cpython-310\Release\csrc\common
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX86\x86\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Icsrc/includes "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\include" -IC:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include -IC:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\TH -IC:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\include" -IC:\Users\PC\AppData\Local\Programs\Python\Python310\include -IC:\Users\PC\AppData\Local\Programs\Python\Python310\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpcsrc/adam/cpu_adam.cpp /Fobuild\temp.win32-cpython-310\Release\csrc/adam/cpu_adam.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -O2 "-LC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\lib64" -lcudart -lcublas -g -march=native -fopenmp -D__SCALAR__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=cpu_adam_op -D_GLIBCXX_USE_CXX11_ABI=0
cl : Command line warning D9002 : ignoring unknown option '-LC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\lib64'
cl : Command line warning D9002 : ignoring unknown option '-lcudart'
cl : Command line warning D9002 : ignoring unknown option '-lcublas'
cl : Command line warning D9002 : ignoring unknown option '-g'
cl : Command line warning D9002 : ignoring unknown option '-march=native'
cl : Command line warning D9002 : ignoring unknown option '-fopenmp'
cpu_adam.cpp
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/macros/Macros.h(143): warning C4067: unexpected tokens following preprocessor directive - expected a newline
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/safe_numerics.h(25): error C3861: '_addcarry_u64': identifier not found
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/core/TensorImpl.h(2214): warning C4805: '|': unsafe mix of type 'uintptr_t' and type 'bool' in operation
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineDeviceGuard<c10::impl::VirtualGuardImpl>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::impl::InlineDeviceGuard<c10::impl::VirtualGuardImpl>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::impl::InlineDeviceGuard<c10::impl::VirtualGuardImpl>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=c10::impl::InlineDeviceGuard<c10::impl::VirtualGuardImpl>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(427): note: see reference to class template instantiation 'c10::optional<c10::impl::InlineDeviceGuard<c10::impl::VirtualGuardImpl>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/core/DeviceGuard.h(178): note: see reference to class template instantiation 'c10::impl::InlineOptionalDeviceGuard<c10::impl::VirtualGuardImpl>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineDeviceGuard<c10::impl::VirtualGuardImpl>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/cuda/Exceptions.h(56): error C2373: 'cusparseGetErrorString': redefinition; different type modifiers
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\include\cusparse.h(304): note: see declaration of 'cusparseGetErrorString'
C:\Users\PC\Desktop\diffusers\examples\dreambooth\DeepSpeed\csrc\includes\simd.h(9): warning C4067: unexpected tokens following preprocessor directive - expected a newline
csrc/includes\cpu_adam.h(53): warning C4067: unexpected tokens following preprocessor directive - expected a newline
csrc/includes\cpu_adam.h(126): warning C4067: unexpected tokens following preprocessor directive - expected a newline
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::TensorBase
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::TensorBase
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::TensorBase
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=at::TensorBase
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/TensorBase.h(951): note: see reference to class template instantiation 'c10::optional<at::TensorBase>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::TensorBase
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::Tensor
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::Tensor
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::Tensor
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=at::Tensor
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/TensorBody.h(509): note: see reference to class template instantiation 'c10::optional<at::Tensor>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::Tensor
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::Generator
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::Generator
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::Generator
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=at::Generator
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/TensorBody.h(584): note: see reference to class template instantiation 'c10::optional<at::Generator>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::Generator
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::DimVector
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::DimVector
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::DimVector
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=c10::DimVector
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/TensorIterator.h(766): note: see reference to class template instantiation 'c10::optional<c10::DimVector>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::DimVector
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::string
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::string
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::string
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::string
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/jit_type_base.h(448): note: see reference to class template instantiation 'c10::optional<std::string>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::string
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::QualifiedName
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::QualifiedName
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::QualifiedName
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=c10::QualifiedName
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/jit_type_base.h(696): note: see reference to class template instantiation 'c10::optional<c10::QualifiedName>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::QualifiedName
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::shared_ptr<torch::jit::CompilationUnit>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::shared_ptr<torch::jit::CompilationUnit>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::shared_ptr<torch::jit::CompilationUnit>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::shared_ptr<torch::jit::CompilationUnit>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/ivalue.h(1338): note: see reference to class template instantiation 'c10::optional<std::shared_ptr<torch::jit::CompilationUnit>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::shared_ptr<torch::jit::CompilationUnit>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::weak_ptr<torch::jit::CompilationUnit>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::weak_ptr<torch::jit::CompilationUnit>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::weak_ptr<torch::jit::CompilationUnit>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::weak_ptr<torch::jit::CompilationUnit>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/ivalue.h(1339): note: see reference to class template instantiation 'c10::optional<std::weak_ptr<torch::jit::CompilationUnit>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::weak_ptr<torch::jit::CompilationUnit>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ShapeSymbol,std::allocator<c10::ShapeSymbol>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::ShapeSymbol,std::allocator<c10::ShapeSymbol>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::ShapeSymbol,std::allocator<c10::ShapeSymbol>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::vector<c10::ShapeSymbol,std::allocator<c10::ShapeSymbol>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/jit_type.h(482): note: see reference to class template instantiation 'c10::optional<std::vector<c10::ShapeSymbol,std::allocator<c10::ShapeSymbol>>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ShapeSymbol,std::allocator<c10::ShapeSymbol>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::impl::ScalarTypeToCPPType<c10::ScalarType::Bool>::type,std::allocator<c10::impl::ScalarTypeToCPPType<c10::ScalarType::Bool>::type>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::impl::ScalarTypeToCPPType<c10::ScalarType::Bool>::type,std::allocator<c10::impl::ScalarTypeToCPPType<c10::ScalarType::Bool>::type>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::impl::ScalarTypeToCPPType<c10::ScalarType::Bool>::type,std::allocator<c10::impl::ScalarTypeToCPPType<c10::ScalarType::Bool>::type>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::vector<c10::impl::ScalarTypeToCPPType<c10::ScalarType::Bool>::type,std::allocator<c10::impl::ScalarTypeToCPPType<c10::ScalarType::Bool>::type>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/jit_type.h(441): note: see reference to class template instantiation 'c10::optional<std::vector<T,std::allocator<T>>>' being compiled
with
[
T=c10::impl::ScalarTypeToCPPType<c10::ScalarType::Bool>::type
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::impl::ScalarTypeToCPPType<c10::ScalarType::Bool>::type,std::allocator<c10::impl::ScalarTypeToCPPType<c10::ScalarType::Bool>::type>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optional<c10::Stride>,std::allocator<c10::optional<c10::Stride>>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::optional<c10::Stride>,std::allocator<c10::optional<c10::Stride>>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::optional<c10::Stride>,std::allocator<c10::optional<c10::Stride>>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::vector<c10::optional<c10::Stride>,std::allocator<c10::optional<c10::Stride>>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/jit_type.h(567): note: see reference to class template instantiation 'c10::optional<std::vector<c10::optional<c10::Stride>,std::allocator<c10::optional<c10::Stride>>>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/jit_type.h(843): note: see reference to class template instantiation 'c10::VaryingShape<c10::Stride>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optional<c10::Stride>,std::allocator<c10::optional<c10::Stride>>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/jit_type.h(567): note: see reference to class template instantiation 'c10::optional<std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/jit_type.h(613): note: see reference to class template instantiation 'c10::VaryingShape<int64_t>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::optional<int64_t>,std::allocator<c10::optional<int64_t>>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/jit_type.h(726): note: see reference to class template instantiation 'c10::optional<std::vector<int64_t,std::allocator<int64_t>>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<int64_t,std::allocator<int64_t>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineStreamGuard<c10::impl::VirtualGuardImpl>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::impl::InlineStreamGuard<c10::impl::VirtualGuardImpl>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::impl::InlineStreamGuard<c10::impl::VirtualGuardImpl>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=c10::impl::InlineStreamGuard<c10::impl::VirtualGuardImpl>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/core/impl/InlineStreamGuard.h(197): note: see reference to class template instantiation 'c10::optional<c10::impl::InlineStreamGuard<c10::impl::VirtualGuardImpl>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/core/StreamGuard.h(139): note: see reference to class template instantiation 'c10::impl::InlineOptionalStreamGuard<c10::impl::VirtualGuardImpl>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::InlineStreamGuard<c10::impl::VirtualGuardImpl>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::VirtualGuardImpl
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::impl::VirtualGuardImpl
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::impl::VirtualGuardImpl
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=c10::impl::VirtualGuardImpl
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/core/impl/InlineStreamGuard.h(232): note: see reference to class template instantiation 'c10::optional<T>' being compiled
with
[
T=c10::impl::VirtualGuardImpl
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/core/StreamGuard.h(162): note: see reference to class template instantiation 'c10::impl::InlineMultiStreamGuard<c10::impl::VirtualGuardImpl>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::VirtualGuardImpl
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocator<c10::ivalue::Future::WeakStorage>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocator<c10::ivalue::Future::WeakStorage>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocator<c10::ivalue::Future::WeakStorage>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocator<c10::ivalue::Future::WeakStorage>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(834): note: see reference to class template instantiation 'c10::optional<std::vector<c10::ivalue::Future::WeakStorage,std::allocator<c10::ivalue::Future::WeakStorage>>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<c10::ivalue::Future::WeakStorage,std::allocator<c10::ivalue::Future::WeakStorage>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=torch::autograd::ViewInfo
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=torch::autograd::ViewInfo
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=torch::autograd::ViewInfo
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=torch::autograd::ViewInfo
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch/csrc/autograd/variable.h(525): note: see reference to class template instantiation 'c10::optional<torch::autograd::ViewInfo>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=torch::autograd::ViewInfo
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::IValue
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::IValue
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::IValue
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=c10::IValue
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/function_schema.h(179): note: see reference to class template instantiation 'c10::optional<c10::IValue>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::IValue
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::AliasInfo
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::AliasInfo
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::AliasInfo
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=c10::AliasInfo
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/function_schema.h(26): note: see reference to class template instantiation 'c10::optional<c10::AliasInfo>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::AliasInfo
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::either<c10::OperatorName,c10::FunctionSchema>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::either<c10::OperatorName,c10::FunctionSchema>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::either<c10::OperatorName,c10::FunctionSchema>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=c10::either<c10::OperatorName,c10::FunctionSchema>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/op_registration/op_registration.h(434): note: see reference to class template instantiation 'c10::optional<c10::either<c10::OperatorName,c10::FunctionSchema>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::either<c10::OperatorName,c10::FunctionSchema>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::AnnotatedSchema
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::impl::AnnotatedSchema
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::impl::AnnotatedSchema
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=c10::impl::AnnotatedSchema
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/dispatch/OperatorEntry.h(212): note: see reference to class template instantiation 'c10::optional<c10::impl::AnnotatedSchema>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::AnnotatedSchema
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::OperatorEntry::CppSignatureWithDebug
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=c10::impl::OperatorEntry::CppSignatureWithDebug
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=c10::impl::OperatorEntry::CppSignatureWithDebug
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=c10::impl::OperatorEntry::CppSignatureWithDebug
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\ATen/core/dispatch/OperatorEntry.h(271): note: see reference to class template instantiation 'c10::optional<c10::impl::OperatorEntry::CppSignatureWithDebug>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=c10::impl::OperatorEntry::CppSignatureWithDebug
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::tuple<std::string,size_t,size_t>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::tuple<std::string,size_t,size_t>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::tuple<std::string,size_t,size_t>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::tuple<std::string,size_t,size_t>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch/csrc/jit/frontend/source_range.h(357): note: see reference to class template instantiation 'c10::optional<std::tuple<std::string,size_t,size_t>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::tuple<std::string,size_t,size_t>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=torch::jit::SourceRange
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=torch::jit::SourceRange
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=torch::jit::SourceRange
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=torch::jit::SourceRange
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch/csrc/jit/frontend/source_range.h(380): note: see reference to class template instantiation 'c10::optional<torch::jit::SourceRange>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=torch::jit::SourceRange
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=torch::jit::InlinedCallStackPtr
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=torch::jit::InlinedCallStackPtr
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=torch::jit::InlinedCallStackPtr
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=torch::jit::InlinedCallStackPtr
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch/csrc/jit/ir/scope.h(127): note: see reference to class template instantiation 'c10::optional<torch::jit::InlinedCallStackPtr>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=torch::jit::InlinedCallStackPtr
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=torch::jit::ModuleInstanceInfo
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=torch::jit::ModuleInstanceInfo
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=torch::jit::ModuleInstanceInfo
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=torch::jit::ModuleInstanceInfo
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch/csrc/jit/ir/scope.h(140): note: see reference to class template instantiation 'c10::optional<torch::jit::ModuleInstanceInfo>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=torch::jit::ModuleInstanceInfo
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=torch::jit::ScopePtr
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=torch::jit::ScopePtr
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=torch::jit::ScopePtr
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=torch::jit::ScopePtr
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch/csrc/jit/ir/constants.h(29): note: see reference to class template instantiation 'c10::optional<torch::jit::ScopePtr>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=torch::jit::ScopePtr
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=at::ThreadLocalState
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=at::ThreadLocalState
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=at::ThreadLocalState
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=at::ThreadLocalState
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch/csrc/jit/runtime/interpreter.h(150): note: see reference to class template instantiation 'c10::optional<at::ThreadLocalState>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=at::ThreadLocalState
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::shared_ptr<torch::jit::Graph>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::shared_ptr<torch::jit::Graph>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::shared_ptr<torch::jit::Graph>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::shared_ptr<torch::jit::Graph>
]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\array(577): note: see reference to class template instantiation 'c10::optional<std::shared_ptr<torch::jit::Graph>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch/csrc/jit/api/function_impl.h(165): note: see reference to class template instantiation 'std::array<c10::optional<std::shared_ptr<torch::jit::Graph>>,4>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::shared_ptr<torch::jit::Graph>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=torch::jit::GraphExecutor
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=torch::jit::GraphExecutor
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=torch::jit::GraphExecutor
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=torch::jit::GraphExecutor
]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\array(577): note: see reference to class template instantiation 'c10::optional<torch::jit::GraphExecutor>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch/csrc/jit/api/function_impl.h(179): note: see reference to class template instantiation 'std::array<c10::optional<torch::jit::GraphExecutor>,4>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=torch::jit::GraphExecutor
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=torch::jit::Method
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=torch::jit::Method
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=torch::jit::Method
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=torch::jit::Method
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch/csrc/jit/api/object.h(46): note: see reference to class template instantiation 'c10::optional<torch::jit::Method>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=torch::jit::Method
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<std::string,std::allocator<std::string>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<std::string,std::allocator<std::string>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<std::string,std::allocator<std::string>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::vector<std::string,std::allocator<std::string>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch/csrc/jit/api/module.h(304): note: see reference to class template instantiation 'c10::optional<std::vector<std::string,std::allocator<std::string>>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<std::string,std::allocator<std::string>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::function<void (const torch::autograd::profiler::thread_event_lists &)>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::function<void (const torch::autograd::profiler::thread_event_lists &)>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::function<void (const torch::autograd::profiler::thread_event_lists &)>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::function<void (const torch::autograd::profiler::thread_event_lists &)>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch/csrc/autograd/profiler_legacy.h(400): note: see reference to class template instantiation 'c10::optional<std::function<void (const torch::autograd::profiler::thread_event_lists &)>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::function<void (const torch::autograd::profiler::thread_event_lists &)>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<std::vector<int64_t,std::allocator<int64_t>>,std::allocator<std::vector<int64_t,std::allocator<int64_t>>>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<std::vector<int64_t,std::allocator<int64_t>>,std::allocator<std::vector<int64_t,std::allocator<int64_t>>>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<std::vector<int64_t,std::allocator<int64_t>>,std::allocator<std::vector<int64_t,std::allocator<int64_t>>>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::vector<std::vector<int64_t,std::allocator<int64_t>>,std::allocator<std::vector<int64_t,std::allocator<int64_t>>>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch/csrc/autograd/profiler_kineto.h(247): note: see reference to class template instantiation 'c10::optional<std::vector<std::vector<int64_t,std::allocator<int64_t>>,std::allocator<std::vector<int64_t,std::allocator<int64_t>>>>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<std::vector<int64_t,std::allocator<int64_t>>,std::allocator<std::vector<int64_t,std::allocator<int64_t>>>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=torch::nn::TripletMarginWithDistanceLossOptions::distance_function_t
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=torch::nn::TripletMarginWithDistanceLossOptions::distance_function_t
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=torch::nn::TripletMarginWithDistanceLossOptions::distance_function_t
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=torch::nn::TripletMarginWithDistanceLossOptions::distance_function_t
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch\csrc\api\include\torch/nn/options/loss.h(404): note: see reference to class template instantiation 'c10::optional<torch::nn::TripletMarginWithDistanceLossOptions::distance_function_t>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=torch::nn::TripletMarginWithDistanceLossOptions::distance_function_t
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<double,std::allocator<double>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<double,std::allocator<double>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<double,std::allocator<double>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::vector<double,std::allocator<double>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch\csrc\api\include\torch/nn/options/upsampling.h(26): note: see reference to class template instantiation 'c10::optional<std::vector<T,std::allocator<T>>>' being compiled
with
[
T=double
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<double,std::allocator<double>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::tuple<at::Tensor,at::Tensor>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::tuple<at::Tensor,at::Tensor>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::tuple<at::Tensor,at::Tensor>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::tuple<at::Tensor,at::Tensor>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch\csrc\api\include\torch/nn/modules/rnn.h(155): note: see reference to class template instantiation 'c10::optional<std::tuple<at::Tensor,at::Tensor>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::tuple<at::Tensor,at::Tensor>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<at::Tensor,std::allocator<at::Tensor>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(397): note: see reference to class template instantiation 'c10::constexpr_storage_t<T>' being compiled
with
[
T=std::vector<at::Tensor,std::allocator<at::Tensor>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base<T>' being compiled
with
[
T=std::vector<at::Tensor,std::allocator<at::Tensor>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(540): note: see reference to alias template instantiation 'c10::OptionalBase<T>' being compiled
with
[
T=std::vector<at::Tensor,std::allocator<at::Tensor>>
]
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\torch\csrc\api\include\torch/optim/lbfgs.h(46): note: see reference to class template instantiation 'c10::optional<std::vector<at::Tensor,std::allocator<at::Tensor>>>' being compiled
C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: 'c10::trivially_copyable_optimization_optional_base<T>': destructor was implicitly defined as deleted
with
[
T=std::vector<at::Tensor,std::allocator<at::Tensor>>
]
csrc/adam/cpu_adam.cpp(28): warning C4067: unexpected tokens following preprocessor directive - expected a newline
csrc/adam/cpu_adam.cpp(104): warning C4067: unexpected tokens following preprocessor directive - expected a newline
csrc/adam/cpu_adam.cpp(173): warning C4067: unexpected tokens following preprocessor directive - expected a newline
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX86\\x86\\cl.exe' failed with exit code 2
C:\Users\PC\Desktop\diffusers\examples\dreambooth\DeepSpeed>
@camenduru
Copy link
Author

camenduru commented Oct 24, 2022

// GCC has __builtin_mul_overflow from before it supported __has_builtin
#ifdef _MSC_VER
#define C10_HAS_BUILTIN_OVERFLOW() (0)
#include <c10/util/llvmMathExtras.h>
#include <intrin.h>
#else
#define C10_HAS_BUILTIN_OVERFLOW() (1)
#endif

namespace c10 {

C10_ALWAYS_INLINE bool add_overflows(uint64_t a, uint64_t b, uint64_t* out) {
#if C10_HAS_BUILTIN_OVERFLOW()
  return __builtin_add_overflow(a, b, out);
#else
  unsigned long long tmp;
  auto carry = _addcarry_u64(0, a, b, &tmp);
  *out = tmp;
  return carry;
#endif
}

https://github.com/pytorch/pytorch/blob/v1.12.1/c10/util/safe_numerics.h

pytorch/pytorch#81642

@camenduru
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment