Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
VoxCPM
Log In
Sign Up
PrunaAI
/
mosaicml-mpt-7b-bnb-4bit-smashed
like
0
Follow
Pruna AI
280
Pruna AI
Safetensors
mpt
custom_code
4-bit precision
bitsandbytes
Model card
Files
Files and versions
xet
Community
2
Use this model
75a595f
mosaicml-mpt-7b-bnb-4bit-smashed
/
fc.py
sharpenb
Upload folder using huggingface_hub (
#1
)
2868357
verified
over 1 year 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