rockylynnstein commited on
Commit
3c73bd8
·
verified ·
1 Parent(s): cef88d7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -34,7 +34,7 @@ import torch
34
 
35
  model = AutoModelForCausalLM.from_pretrained(
36
  "TevunahAi/granite-8b-code-instruct-4k-FP8",
37
- torch_dtype=torch.float8_e4m3fn, # FP8 dtype
38
  device_map="auto",
39
  low_cpu_mem_usage=True,
40
  )
 
34
 
35
  model = AutoModelForCausalLM.from_pretrained(
36
  "TevunahAi/granite-8b-code-instruct-4k-FP8",
37
+ torch_dtype=torch.bfloat16,
38
  device_map="auto",
39
  low_cpu_mem_usage=True,
40
  )