Unverified Commit 1ac4ccf7 authored by Woosuk Kwon's avatar Woosuk Kwon Committed by GitHub
Browse files

Add float16 and float32 (#1115)

parent 2ac4d5e2
......@@ -93,7 +93,9 @@ class EngineArgs:
'--dtype',
type=str,
default=EngineArgs.dtype,
choices=['auto', 'half', 'bfloat16', 'float'],
choices=[
'auto', 'half', 'float16', 'bfloat16', 'float', 'float32'
],
help='data type for model weights and activations. '
'The "auto" option will use FP16 precision '
'for FP32 and FP16 models, and BF16 precision '
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment