Advertisement
kopyl

Untitled

Dec 26th, 2023
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.02 KB | None | 0 0
  1. The following values were not passed to `accelerate launch` and had defaults used instead:
  2. `--num_processes` was set to a value of `1`
  3. `--num_machines` was set to a value of `1`
  4. `--mixed_precision` was set to a value of `'no'`
  5. `--dynamo_backend` was set to a value of `'no'`
  6. To avoid this warning pass in values for each of the problematic parameters or run `accelerate config`.
  7. 12/26/2023 20:39:32 - INFO - __main__ - Distributed environment: NO
  8. Num processes: 1
  9. Process index: 0
  10. Local process index: 0
  11. Device: cuda
  12.  
  13. Mixed precision type: no
  14.  
  15. You are using a model of type clip_text_model to instantiate a model of type . This is not supported for all configurations of models and can yield errors.
  16. {'variance_type', 'dynamic_thresholding_ratio', 'rescale_betas_zero_snr', 'thresholding', 'timestep_spacing', 'sample_max_value', 'prediction_type', 'clip_sample_range'} was not found in config. Values will be initialized to default values.
  17. {'scaling_factor', 'force_upcast'} was not found in config. Values will be initialized to default values.
  18. {'mid_block_only_cross_attention', 'resnet_time_scale_shift', 'dropout', 'conv_in_kernel', 'conv_out_kernel', 'mid_block_type', 'encoder_hid_dim', 'resnet_out_scale_factor', 'time_embedding_type', 'time_embedding_dim', 'addition_time_embed_dim', 'resnet_skip_time_act', 'class_embeddings_concat', 'reverse_transformer_layers_per_block', 'encoder_hid_dim_type', 'num_class_embeds', 'addition_embed_type', 'transformer_layers_per_block', 'timestep_post_act', 'projection_class_embeddings_input_dim', 'only_cross_attention', 'dual_cross_attention', 'num_attention_heads', 'class_embed_type', 'use_linear_projection', 'cross_attention_norm', 'addition_embed_type_num_heads', 'time_embedding_act_fn', 'time_cond_proj_dim', 'attention_type', 'upcast_attention'} was not found in config. Values will be initialized to default values.
  19. 12/26/2023 20:39:33 - INFO - __main__ - Initializing controlnet weights from unet
  20. start dataset download
  21. /usr/local/lib/python3.10/dist-packages/datasets/load.py:1429: FutureWarning: The repository for fusing/fill50k contains custom code which must be executed to correctly load the dataset. You can inspect the repository content at https://hf.co/datasets/fusing/fill50k
  22. You can avoid this message in future by passing the argument `trust_remote_code=True`.
  23. Passing `trust_remote_code=True` will be mandatory to load this dataset from the next major release of `datasets`.
  24. warnings.warn(
  25. Generating train split: 0 examples [00:00, ? examples/s]
  26. Traceback (most recent call last):
  27. File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1724, in _prepare_split_single
  28. for key, record in generator:
  29. File "/workspace/HF_HOME/modules/datasets_modules/datasets/fusing--fill50k/f23b778406682a796a540934e7163495e1b8a88fefc76ca08f7e5a79ddcd668b/fill50k.py", line 83, in _generate_examples
  30. image = open(image_path, "rb").read()
  31. File "/usr/local/lib/python3.10/dist-packages/datasets/streaming.py", line 75, in wrapper
  32. return function(*args, download_config=download_config, **kwargs)
  33. File "/usr/local/lib/python3.10/dist-packages/datasets/download/streaming_download_manager.py", line 501, in xopen
  34. return open(main_hop, mode, *args, **kwargs)
  35. FileNotFoundError: [Errno 2] No such file or directory: '/workspace/HF_HOME/datasets/downloads/extracted/c23d23dbe5e9a974d0a7b4872ac5fe89f2fa95432415f99105ed782f47bdce24/images/0.png'
  36.  
  37. The above exception was the direct cause of the following exception:
  38.  
  39. Traceback (most recent call last):
  40. File "/workspace/diffusers/examples/controlnet/train_controlnet.py", line 1136, in <module>
  41. main(args)
  42. File "/workspace/diffusers/examples/controlnet/train_controlnet.py", line 889, in main
  43. train_dataset = make_train_dataset(args, tokenizer, accelerator)
  44. File "/workspace/diffusers/examples/controlnet/train_controlnet.py", line 595, in make_train_dataset
  45. dataset = load_dataset(
  46. File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line 2545, in load_dataset
  47. builder_instance.download_and_prepare(
  48. File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1003, in download_and_prepare
  49. self._download_and_prepare(
  50. File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1765, in _download_and_prepare
  51. super()._download_and_prepare(
  52. File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1098, in _download_and_prepare
  53. self._prepare_split(split_generator, **prepare_split_kwargs)
  54. File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1603, in _prepare_split
  55. for job_id, done, content in self._prepare_split_single(
  56. File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1760, in _prepare_split_single
  57. raise DatasetGenerationError("An error occurred while generating the dataset") from e
  58. datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset
  59. Traceback (most recent call last):
  60. File "/usr/local/bin/accelerate", line 8, in <module>
  61. sys.exit(main())
  62. File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/accelerate_cli.py", line 47, in main
  63. args.func(args)
  64. File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 1017, in launch_command
  65. simple_launcher(args)
  66. File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 637, in simple_launcher
  67. raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
  68. subprocess.CalledProcessError: Command '['/usr/bin/python', '/workspace/diffusers/examples/controlnet/train_controlnet.py', '--pretrained_model_name_or_path=runwayml/stable-diffusion-v1-5', '--output_dir=trained_model', '--dataset_name=fusing/fill50k', '--resolution=512', '--learning_rate=1e-5', '--validation_image', '/workspace/conditioning_image_1.png', '/workspace/conditioning_image_2.png', '--validation_prompt', 'red circle with blue background', 'cyan circle with brown floral background', '--train_batch_size=4']' returned non-zero exit status 1.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement