style(model): silence missing-import type warning
Pyright flags reportMissingImports on a third-party import. Add a targeted ignore rather than disabling the checker project-wide.pull/893/head
parent
9a25cceaeb
commit
eefa663dd4
|
|
@ -1,7 +1,7 @@
|
|||
import math, torch, torch.nn.functional as F
|
||||
from torch import nn
|
||||
from transformers.activations import ACT2FN
|
||||
from transformers import PreTrainedModel, GenerationMixin, PretrainedConfig
|
||||
from transformers import PreTrainedModel, GenerationMixin, PretrainedConfig # type: ignore[reportMissingImports]
|
||||
from transformers.modeling_outputs import MoeCausalLMOutputWithPast
|
||||
|
||||
# 🌏🌎🌍🌏🌎🌍🌏🌎🌍🌏🌎🌍🌏🌎🌍🌏🌎🌍🌏🌎🌍🌏🌎🌍🌏🌎🌍🌏🌎🌍🌏🌎🌍🌏🌎🌍🌏🌎🌍🌏🌎🌍🌏🌎🌍🌏🌎🌍🌏🌎🌍🌏
|
||||
|
|
|
|||
Loading…
Reference in New Issue