Ali2206 commited on
Commit
6de96e2
·
verified ·
1 Parent(s): b3f455d

Update src/txagent/txagent.py

Browse files
Files changed (1) hide show
  1. src/txagent/txagent.py +1 -1
src/txagent/txagent.py CHANGED
@@ -79,9 +79,9 @@ class TxAgent:
79
  dtype="float16",
80
  max_model_len=131072,
81
  max_num_batched_tokens=65536, # Increased for A100 80GB
 
82
  gpu_memory_utilization=0.95, # Higher utilization for better performance
83
  trust_remote_code=True,
84
- engine_args={"max_num_seqs": 512},
85
  )
86
  self.chat_template = Template(self.model.get_tokenizer().chat_template)
87
  self.tokenizer = self.model.get_tokenizer()
 
79
  dtype="float16",
80
  max_model_len=131072,
81
  max_num_batched_tokens=65536, # Increased for A100 80GB
82
+ max_num_seqs=512,
83
  gpu_memory_utilization=0.95, # Higher utilization for better performance
84
  trust_remote_code=True,
 
85
  )
86
  self.chat_template = Template(self.model.get_tokenizer().chat_template)
87
  self.tokenizer = self.model.get_tokenizer()