Lightning-AI/pytorch-lightning

Documented errors, page 5 of 5. Back to Lightning-AI/pytorch-lightning

Code / MessageTypeSeverityTags
method is invalid. Should be one of .
validation error tuner, validation, method-argument
Expected a method or a string, but got
validation error pytorch-lightning, fabric, type-mismatch, method-binding
__setitem__ is not supported
exception warning pytorch-lightning, not-implemented, internal-api
`training_step` returned `None`. If this was on purpose…
console warning training-step, loss, automatic-optimization, lightning
When requesting `ln_structured` pruning, the `pruning_norm`…
exception error pytorch-lightning, pruning, ln-structured, missing-argument
`DeepSpeedStrategy.save_checkpoint(..., filter=...)` is not…
validation error deepspeed, checkpointing, unsupported-argument, pytorch-lightning
The strategy ` ` requires a GPU accelerator, but received…
validation error pytorch-lightning, fsdp, strategy, cuda-only
HPU is currently not supported. Please contact…
validation error pytorch-lightning, hpu, unsupported-feature
`setup_dataloaders` requires at least one dataloader as…
validation error pytorch-lightning, fabric, dataloader, validation
You have overridden ` ` in `LightningModule` but have…
console warning datamodule, hook-conflict, data-loading, lightning
All datasets are iterable-style datasets.
validation error combined-loader, iterable-dataset, not-implemented
raise ModuleNotFoundError(str(_XLA_AVAILABLE))
exception critical xla, tpu, missing-dependency, pytorch-lightning
Received both `precision=
validation error lightning, fabric, precision, plugins, conflicting-arguments
`self.log( , )` was called, but nested dictionaries cannot…
exception error pytorch-lightning, fabric, self-log, nested-dict, validation
`verbose` must be any of (0, 1, 2)
exception error pytorch-lightning, pruning, verbose, argument-validation
You have to specify either `clip_val` or `max_norm` to do…
validation error lightning, fabric, gradient-clipping, missing-argument
f"`reload_dataloaders_every_n_epochs` should be an int >=…
validation error lightning, trainer-init, dataloader-reload, type-error, config
SWA does not currently support sharded models.
exception error swa, fsdp, deepspeed, sharding, incompatible-strategy
Cannot determine global rank. Environment variable…
validation error lsf, jsrun, hpc, missing-env-var, distributed
Cannot use `LearningRateMonitor` callback with `Trainer`…
validation error lightning, lr-monitor, missing-logger, trainer-config
`max_steps` must be a non-negative integer or -1 (infinite…
exception error pytorch-lightning, trainer, max-steps, validation
`self.log( , )` was called, but ` ` values cannot be logged
exception error pytorch-lightning, fabric, self-log, type-validation, non-numeric
Skipping ' ' parameter because it is not possible to safely…
console warning hyperparameters, yaml-serialization, saving, lightning
`Trainer.save_checkpoint(..., storage_options=...)` with…
validation error xla, checkpoint, storage-options, pytorch-lightning
The provided lr scheduler
exception error lr-scheduler, checkpointing, type-error, lightning
Torch distributed is not available.
exception critical pytorch-lightning, distributed, pytorch-build, platform-support
Epoch should be an int greater than or equal to 0. Got
validation error lightning, gradient-accumulation, invalid-key, type-validation
Expected a list as "audios", found
exception error wandb, lightning, logging, audio, type-error
Providing log_model=
exception error wandb, lightning, logger, offline, config-conflict
The provided path is not a valid DeepSpeed checkpoint
error_code error deepspeed, checkpoint, path, load
When saving the DeepSpeed Stage 3 checkpoint, each worker…
console warning deepspeed, zero-stage-3, checkpoint, sharding
`num_nodes` must be a positive integer, but got
validation error pytorch-lightning, num-nodes, input-validation
` .save_checkpoint(..., storage_options=...)` is not…
exception error checkpoint, storage-options, model-parallel, unsupported-argument
' ' not found in registry. Available names
exception error lightning, fabric, registry, unknown-strategy, key-error
`self.log( , )` was called, but the tensor must have a…
exception error pytorch-lightning, self-log, tensor, scalar, shape-validation
Invalid value for save_top_k=
validation error lightning, model-checkpoint, invalid-argument, callback-config
` ` already owns a group.
exception error pytorch-lightning, distributed, process-group, collectives, double-setup
` .to_tensorrt` requires `torch_tensorrt` to be installed.
exception error tensorrt, export, missing-dependency, lightning
Mismatch in flattened length
validation error combined-loader, mutation, length-mismatch
Expected a list as "videos", found
exception error wandb, lightning, logging, video, type-error
` ` can not run on your system since the accelerator is not…
validation error pytorch-lightning, accelerator, hardware-availability
f"`gradient_clip_algorithm
validation error trainer, gradient-clipping, invalid-argument, misconfiguration, pytorch-lightning
`model` is required to be a compiled LightningModule. Found…
validation error torch-compile, state-check
f"`Trainer(barebones=True, num_sanity_val_steps= )` was…
validation error trainer, barebones, sanity-check, misconfiguration, pytorch-lightning
In tuner with method=
validation error tuner, dataloaders, misconfiguration
The `CSVLogger` does not yet support logging…
exception warning pytorch-lightning, fabric, csv-logger, hyperparameters, not-implemented
`max_depth` can be -1, 0 or > 0, got
exception error model-summary, validation, lightning, valueerror
The XLA strategy can only work with the `XLAPrecision`…
exception error xla, precision-plugin, plugin-mismatch
You selected an invalid accelerator name: `accelerator=
validation error pytorch-lightning, trainer, accelerator, invalid-argument
Choosing method=`trace` requires either `example_inputs` or…
exception error torchscript, trace, example-input, lightning
f"`gradient_clip_val` should be an int or a float. Got
validation error trainer, gradient-clipping, type-error, hyperparameters, pytorch-lightning
hparams must be dictionary
exception error lightning, hparams, yaml, type-error, serialization
Starting from v1.9.0, `tensorboardX` has been removed as a…
console warning logger, tensorboard, csv-fallback, lightning, version-change
The ` ` does not support setting a `CheckpointIO` plugin.
validation error fsdp, checkpoint, not-implemented, setter
The PyTorch Profiler default schedule will be overridden as…
console warning profiler, pytorch-profiler, schedule, lightning
Passed ` (precision= )`. Precision must be '16-mixed' or…
validation error amp, precision, validation, pytorch-lightning
predict returned None if it was on purpose, ignore this…
console warning predict-step, inference, lightning
`prefetch_batches` should at least be 0.
exception error lightning, data-loading, prefetch, validation
f"`Trainer(barebones=True, detect_anomaly= )` was passed."…
validation error trainer, barebones, anomaly-detection, misconfiguration, pytorch-lightning
Trainer is already configured with a `BatchSizeFinder`…
validation error batch-size-finder, callbacks, tuner, duplicate-config
Trainer is already configured with a `LearningRateFinder`…
validation error lr-finder, callbacks, tuner, duplicate-config
train_dataloader yielded None. If this was on purpose…
console warning training, dataloader, none-batch, lightning
f"`Trainer(barebones=True, enable_model_summary= )` was…
validation error trainer, barebones, model-summary, misconfiguration, pytorch-lightning
f"`Trainer(barebones=True, fast_dev_run= )` was passed." "…
validation error trainer, barebones, fast-dev-run, misconfiguration, pytorch-lightning
Mismatch in number of limits
validation error combined-loader, limits, validation
Could not export to TensorRT since neither `input_sample`…
exception error tensorrt, example-input, lightning
The 'method' parameter only supports 'script' or 'trace'…
exception error torchscript, invalid-argument, lightning
`model` is required to be a `OptimizedModule`. Found a
validation error torch-compile, type-mismatch, unwrap
f"`Trainer(barebones=True, profiler= )` was passed." "…
validation error trainer, barebones, profiler, misconfiguration, pytorch-lightning
Unsupported mode , please select one of: .
validation error combined-loader, mode, invalid-argument
Please call `iter(combined_loader)` first.
validation error combined-loader, iteration-order, runtime-state
`Trainer(devices= )` value is not a valid input using…
validation error pytorch-lightning, devices, config-validation
Cannot determine local rank. Environment variable…
validation error lsf, jsrun, hpc, missing-env-var, distributed
LitLogger does not support `log_graph`
console warning logger, log-graph, litlogger, lightning
` ` does not own a group to destroy.
exception error pytorch-lightning, distributed, process-group, collectives, teardown
`model` must either be an instance of OptimizedModule or…
validation error torch-compile, type-mismatch