Update example-cpu.py

main
randaller 3 years ago committed by GitHub
parent 7266efc685
commit 164d3e4b36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -53,6 +53,7 @@ def main(
max_batch_size: int = 32, max_batch_size: int = 32,
): ):
# torch.manual_seed(1) # torch.manual_seed(1)
# torch.set_default_dtype(torch.bfloat16)
generator = load(ckpt_dir, tokenizer_path, max_seq_len, max_batch_size) generator = load(ckpt_dir, tokenizer_path, max_seq_len, max_batch_size)

Loading…
Cancel
Save