update main.py
This commit is contained in:
@@ -31,8 +31,8 @@ class ChatWithAI:
|
|||||||
tokenizer=model_name,
|
tokenizer=model_name,
|
||||||
tokenizer_mode="auto",
|
tokenizer_mode="auto",
|
||||||
trust_remote_code=True,
|
trust_remote_code=True,
|
||||||
dtype=torch.float16, # float16
|
dtype=torch.bfloat16, # float16
|
||||||
gpu_memory_utilization=0.5,
|
gpu_memory_utilization=0.65,
|
||||||
max_model_len=32768,
|
max_model_len=32768,
|
||||||
enable_prefix_caching=True,
|
enable_prefix_caching=True,
|
||||||
tensor_parallel_size=1, # Увеличь, если у тебя несколько GPU
|
tensor_parallel_size=1, # Увеличь, если у тебя несколько GPU
|
||||||
|
|||||||
Reference in New Issue
Block a user