Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
PrunaAI
/
mosaicml-mpt-7b-8k-bnb-8bit-smashed
like
0
Follow
Pruna AI
111
Text Generation
Transformers
Safetensors
mpt
pruna-ai
custom_code
text-generation-inference
Inference Endpoints
8-bit precision
bitsandbytes
Model card
Files
Files and versions
Community
2
Train
Deploy
Use this model
9e8d28b
mosaicml-mpt-7b-8k-bnb-8bit-smashed
/
fc.py
sharpenb
Upload folder using huggingface_hub (
#1
)
f8fbdd5
verified
7 months ago
raw
Copy download link
history
blame
Safe
167 Bytes
from
torch
import
nn
FC_CLASS_REGISTRY = {
'torch'
: nn.Linear}
try
:
import
transformer_engine.pytorch
as
te
FC_CLASS_REGISTRY[
'te'
] = te.Linear
except
:
pass