Lightning-AI/pytorch-lightning

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

Code / MessageTypeSeverityTags
Bitsandbytes is only supported on CUDA GPUs.
validation error pytorch-lightning, bitsandbytes, quantization, cuda-only
You have set `Trainer
exception error pytorch-lightning, gradient-clipping, trainer-config, conflict
Currently only one optimizer is supported with DeepSpeed…
exception error deepspeed, optimizers, multiple-optimizers, configure-optimizers
SWA currently works with 1 `optimizer`.
exception error swa, multiple-optimizers, configure-optimizers, callback
`write_interval` should be one of
exception error pytorch-lightning, prediction-writer, write-interval, argument-validation
Attempting to stop recording an action
exception error profiler, advanced-profiler, api-misuse, pytorch-lightning
Loading a single optimizer object from a checkpoint is not…
validation error fsdp, optimizer, checkpoint, not-implemented, pytorch-lightning
NeptuneLogger is no longer supported. Neptune has been…
exception error neptune, lightning, logger, removed-api, sunset
`train_dataloader` must be implemented to be used with the…
exception error train-dataloader, not-implemented, lightning-module, required-method
"`val_check_interval` should be an integer or a time-based…
validation error lightning, val-check-interval, validation, trainer-init, config
You cannot execute `.
validation error lightning, fast-dev-run, checkpoint, best-model, smoke-test
DeepSpeed handles gradient clipping automatically within…
validation error deepspeed, gradient-clipping, not-implemented
' ' is already present in the registry. HINT: Use…
validation error pytorch-lightning, trainer, barebones, logger
You marked ' ' as a forward method, but ` . ` does not…
exception error pytorch-lightning, fabric, attribute-error, method-lookup
You selected `Trainer
validation error pytorch-lightning, ddp-fork, windows, platform-unsupported
Invalid value for every_n_epochs=
validation error pytorch-lightning, modelcheckpoint, config-validation, argument-validation
Filter should be a dictionary, given
validation error lightning, fabric, checkpointing, type-validation
You set `Trainer(sync_batchnorm=True)` and provided a
validation error pytorch-lightning, sync-batchnorm, plugins, configuration-conflict
Automatic gradient accumulation is not supported for manual…
validation error pytorch-lightning, manual-optimization, gradient-accumulation, configuration
`. (ckpt_path="best")` is set but `ModelCheckpoint` is not…
validation error lightning, model-checkpoint, monitor, best-model, test
`mode` can be but got
exception error pytorch-lightning, modelcheckpoint, mode, argument-validation
`model.configure_optimizers()` returned
validation error lr-finder, tuner, multiple-optimizers, configure-optimizers, pytorch-lightning
`self.log_dict( )` was called, but nested dictionaries…
exception error pytorch-lightning, fabric, log-dict, nested-dict, validation
Unsupported config type of
exception error pytorch-lightning, hparams, save-hyperparameters, type-validation, unsupported-type
Unsupported op of type
validation error pytorch-lightning, distributed, reduceop, type-validation
When `optimizer.step(closure)` is called, the closure…
exception error optimizer, closure, manual-optimization, lightning
Could not export to ONNX since neither `input_sample` nor…
exception error onnx, export, example-input, lightning
The expected response
exception error lightning, serving, response-mismatch, assertion
The provided `parameter_names` name
exception error pytorch-lightning, pruning, parameter-names, argument-validation
You requested to find
validation error pytorch-lightning, trainer, profiler, invalid-argument
is neither stored in the model namespace nor the `hparams`…
exception error attribute-lookup, batch-size, tuner, lightning
Cannot determine world size. Environment variable…
validation error lsf, jsrun, hpc, missing-env-var, distributed
Empty dict cannot be interpreted correct
validation error lightning, gradient-accumulation, empty-argument, callback-config
Invalid mode. Has to be min or max, found
validation error lightning, spike-detection, configuration
Your provided payload
exception error lightning, serving, payload, schema
Found sort_by_key: . Should be within .
exception error profiler, invalid-argument, pytorch-lightning
precision set through both strategy class and plugins…
validation error pytorch-lightning, strategy, precision, conflicting-config
The sizes `data_parallel_size=
exception error lightning, fabric, model-parallel, device-mesh, world-size
A model should be passed only once to the `setup` method.
validation error lightning, fabric, setup, double-setup
The server didn't start within
exception error lightning, serving, timeout, server-startup
This script was launched through the CLI, and processes…
exception error lightning, fabric, cli, launch, double-launch
You have set `Trainer
exception error pytorch-lightning, gradient-clipping, trainer-config, conflict
Expected items but only found for
exception error wandb, lightning, logging, images, length-mismatch
"`Trainer.test()` requires a `LightningModule` when it…
validation error trainer, test, missing-model, checkpoint, pytorch-lightning
A model should be passed only once to the `setup_module`…
validation error lightning, fabric, setup-module, double-setup
Found multiple DeepSpeed engine modules in the given state…
validation error deepspeed, checkpointing, multiple-models, pytorch-lightning
The XLA strategy can only work with the `XLACheckpointIO`…
exception error xla, checkpoint-io, plugin-mismatch
checkpoint_io set through both strategy class and plugins…
validation error lightning, fabric, strategy, checkpointio, plugins, conflicting-arguments
cluster_environment set through both strategy class and…
validation error lightning, fabric, strategy, cluster-environment, plugins, conflicting-arguments
Expected a list as "images", found
exception error wandb, lightning, logging, images, type-error
`. ()` found no path for the best weights: . Please specify…
validation error lightning, checkpoint, resume, path-resolution, test
No supported gpu backend found!
validation error pytorch-lightning, gpu, cuda, environment
SWA currently not supported for more than 1 `lr_scheduler`.
exception error swa, lr-scheduler, multiple-schedulers, callback
`test_dataloader` must be implemented to be used with the…
exception error test-dataloader, not-implemented, lightning-module, required-method
Did not find the environment variable `LSB_DJOB_RANKFILE`
validation error lsf, bsub, hpc, missing-env-var, distributed
swa_epoch_start should be a >0 integer or a float between 0…
exception error swa, stochastic-weight-averaging, validation, callback
Expected a precision plugin, got
exception error pytorch-lightning, fabric, precision, type-mismatch
TensorRT with IR mode 'ts' only supports output format…
exception error tensorrt, invalid-combination, torchscript, lightning
Training with multiple optimizers is only supported with…
exception critical optimizer, manual-optimization, gan, lightning
An optimizer should be passed only once to the `setup`…
validation error lightning, fabric, setup, optimizer, double-setup
`Fabric.launch(...)` needs to be a callable, but got
validation error lightning, fabric, launch, callable, typo
Found multiple FSDP models in the given state. Loading…
validation error fsdp, checkpoint, load, distributed, pytorch-lightning
`model` is expected to be a compiled LightningModule. Found…
validation error torch-compile, mixed-imports, type-mismatch
` ` does not own a group. HINT: try…
exception error pytorch-lightning, distributed, process-group, collectives
Unsupported parameter value `Timer
exception error timer, interval, enum-validation, callback
You are using the bitsandbytes precision plugin, but your…
validation error bitsandbytes, quantization, model-structure, pytorch-lightning
A dataloader should be passed only once to the…
validation error pytorch-lightning, fabric, dataloader, double-setup
. It looks like you passed the path to a file inside a…
error_code error deepspeed, checkpoint, path, load
`model` must be a `LightningModule` or…
validation error torch-compile, mixed-imports, trainer, type-mismatch
You have overridden ` ` in both `LightningModule` and…
console warning datamodule, hook-conflict, data-loading, lightning
Accumulation factor should be an int greater than 0. Got
validation error lightning, gradient-accumulation, invalid-value, type-validation
Currently, the XLAStrategy only supports `sum`, `mean`…
exception error xla, reduce, reduce-op, distributed
You have overridden the `LightningModule.backward` hook but…
console warning deepspeed, backward-hook, precision, lightning
Device IDs (GPU/TPU) must be an int, a string, a sequence…
validation error devices, typeerror, config, validation
`Fabric(devices= )` value is not a valid input using…
validation error lightning, fabric, devices, argument-validation, no-gpus
SWA with `swa_epoch_start` as a float is not supported when…
exception error swa, max-epochs, open-ended-training, callback
` .to_onnx(dynamo=True)` requires `onnxscript` to be…
exception error onnx, dynamo, onnxscript, missing-dependency, lightning
Could not find a DeepSpeed model in the provided checkpoint…
validation error deepspeed, checkpointing, resume, state-validation, pytorch-lightning
If lengths are passed
exception error pytorch-lightning, throughput, state-consistency
method='fit' is the only valid configuration to run lr…
validation error lr-finder, tuner, misconfiguration, lightning
`mode` should be either of
validation error lightning, lr-finder, invalid-argument, hyperparameter-tuning
op is not a member of `ReduceOp
validation error pytorch-lightning, distributed, reduceop, invalid-value
Both ` .configure_model`, and ` .configure_sharded_model`…
validation error pytorch-lightning, fsdp, deprecated-hook, configuration
The model isn't servable. Investigate the traceback and try…
exception error lightning, serving, misconfiguration, pipeline-gate
only works with `dtype=torch.float16`, but you chose
validation error bitsandbytes, quantization, int8, dtype, pytorch-lightning
`amount` should be provided and be either an int, a float…
exception error pytorch-lightning, pruning, amount, type-error
`DeepSpeedStrategy.save_checkpoint(...…
validation error deepspeed, checkpointing, unsupported-argument, pytorch-lightning
Found multiple DeepSpeed engine modules in the given state…
validation error deepspeed, checkpointing, resume, multiple-models, pytorch-lightning
Got FSDPStrategy.load_checkpoint
validation error fsdp, checkpoint, load, validation, pytorch-lightning
The "interval" key in lr scheduler dict must be "step" or…
exception critical lr-scheduler, interval, validation, lightning
`Timer(duration= )` is not a valid duration. Expected a…
exception error timer, duration-format, validation, callback
`Trainer.predict()` requires a `LightningModule` when it…
validation error trainer, predict, inference, missing-model, pytorch-lightning
Unexpected error, the wrapped model should be a…
validation error torch-compile, unwrap, invariant-violation
device is expected to be a torch.device or a str. Found
exception error swa, device, validation, callback
In tuner with `method`=
validation error tuner, dataloaders, misconfiguration
Neither `tensorboard` nor `tensorboardX` is available. Try…
exception error pytorch-lightning, tensorboard, missing-dependency, logger
The `serve_step` method needs to be overridden.
exception error lightning, serving, inference, not-implemented
`configure_optimizers` must include a monitor when a…
exception critical lr-scheduler, reduce-lr-on-plateau, monitor, lightning
Device should be CUDA, got
validation error pytorch-lightning, trainer, fast-dev-run, validation
f"`check_val_every_n_epoch` should be an integer, found
validation error lightning, trainer-init, validation-interval, type-error, config