Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
1c1
/
7cpc
like
1
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
7cpc
/
8-bit
1c1
Create 8-bit
437761f
verified
about 2 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
108 Bytes
model = AutoModelForCausalLM.from_pretrained(
model_name,
device_map
=
"auto"
,
load_in_8bit
=
True
)