Fix pylint error

This commit is contained in:
doctorpangloss 2025-01-16 14:09:37 -08:00
parent 005459ee77
commit a9347c6713
2 changed files with 4 additions and 3 deletions

View File

@ -57,9 +57,9 @@ if hasattr(torch.serialization, "add_safe_globals"): # TODO: this was added in
ModelCheckpoint.__module__ = "pytorch_lightning.callbacks.model_checkpoint"
from numpy.core.multiarray import scalar
from numpy.core.multiarray import scalar # pylint: disable=no-name-in-module
from numpy import dtype
from numpy.dtypes import Float64DType
from numpy.dtypes import Float64DType # pylint: disable=no-name-in-module
from _codecs import encode
torch.serialization.add_safe_globals([ModelCheckpoint, scalar, dtype, Float64DType, encode])

View File

@ -69,4 +69,5 @@ skia-python
pebble>=5.0.7
openai
anthropic
humanize
humanize
lightning