Update README.md
Browse files
README.md
CHANGED
@@ -20,7 +20,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
20 |
load_in_4bit=True,
|
21 |
torch_dtype=torch.bfloat16,
|
22 |
device_map="auto",
|
23 |
-
max_memory={i: '
|
24 |
quantization_config=BitsAndBytesConfig(
|
25 |
load_in_4bit=True,
|
26 |
bnb_4bit_compute_dtype=torch.bfloat16,
|
|
|
20 |
load_in_4bit=True,
|
21 |
torch_dtype=torch.bfloat16,
|
22 |
device_map="auto",
|
23 |
+
max_memory={i: '48000MB' for i in range(torch.cuda.device_count())},
|
24 |
quantization_config=BitsAndBytesConfig(
|
25 |
load_in_4bit=True,
|
26 |
bnb_4bit_compute_dtype=torch.bfloat16,
|