Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
PrunaAI
/
vinai-PhoGPT-4B-Chat-bnb-8bit-smashed
like
0
Follow
Pruna AI
114
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
3613839
vinai-PhoGPT-4B-Chat-bnb-8bit-smashed
/
fc.py
sharpenb
Upload folder using huggingface_hub (
#1
)
7486d07
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