Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
PrunaAI
/
mosaicml-mpt-7b-chat-bnb-4bit-smashed
like
0
Follow
Pruna AI
104
Text Generation
Transformers
Safetensors
mpt
pruna-ai
custom_code
text-generation-inference
Inference Endpoints
4-bit precision
bitsandbytes
Model card
Files
Files and versions
Community
2
Train
Deploy
Use this model
dd69351
mosaicml-mpt-7b-chat-bnb-4bit-smashed
/
fc.py
sharpenb
Upload folder using huggingface_hub (
#1
)
dd69351
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