mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-06 19:40:28 +00:00
[Hotfix] Fix accuracy and align attention method api with Triton kernel (#5229)
* fix accuracy * alignment in attention * fix attention * fix * fix bugs * fix bugs * fix bugs
This commit is contained in:
@@ -11,7 +11,6 @@ from colossalai.inference.config import InferenceConfig
|
||||
from colossalai.inference.core.engine import InferenceEngine
|
||||
from colossalai.testing import rerun_if_address_is_in_use, spawn
|
||||
|
||||
|
||||
def setup_seed(seed):
|
||||
torch.manual_seed(seed)
|
||||
torch.cuda.manual_seed_all(seed)
|
||||
|
Reference in New Issue
Block a user