mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
Fixes.
This commit is contained in:
parent
649f088519
commit
cc07a84604
@ -1,7 +1,7 @@
|
|||||||
import torch
|
import torch
|
||||||
from torch.nn import functional as F
|
from torch.nn import functional as F
|
||||||
from typing import List
|
from typing import List
|
||||||
from text_generation_server.layers.linear import get_linear
|
from text_generation_server.layers.linear import get_linear, FastLinear
|
||||||
|
|
||||||
|
|
||||||
class SuperLayer(torch.nn.Module):
|
class SuperLayer(torch.nn.Module):
|
||||||
|
@ -11,9 +11,9 @@ import torch.nn.functional as F
|
|||||||
from text_generation_server.layers import (
|
from text_generation_server.layers import (
|
||||||
SpeculativeHead,
|
SpeculativeHead,
|
||||||
TensorParallelEmbedding,
|
TensorParallelEmbedding,
|
||||||
FastRMSNorm,
|
|
||||||
FastLinear,
|
FastLinear,
|
||||||
)
|
)
|
||||||
|
from text_generation_server.layers.layernorm import FastRMSNorm
|
||||||
|
|
||||||
from einops import rearrange
|
from einops import rearrange
|
||||||
from causal_conv1d import causal_conv1d_fn, causal_conv1d_update
|
from causal_conv1d import causal_conv1d_fn, causal_conv1d_update
|
||||||
|
Loading…
Reference in New Issue
Block a user