mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-08 04:24:47 +00:00
[npu] add npu support for hybrid plugin and llama (#5090)
* llama 3d * update * fix autocast
This commit is contained in:
@@ -38,7 +38,7 @@ class DeviceMesh:
|
||||
device (str): the device for the process groups used by the DeviceMesh instance. (default: 'cuda')
|
||||
"""
|
||||
|
||||
_DIST_BACKEND = {"cuda": "nccl", "cpu": "gloo"}
|
||||
_DIST_BACKEND = {"cuda": "nccl", "cpu": "gloo", "npu": "hccl"}
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
Reference in New Issue
Block a user