mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-12-16 17:40:09 +08:00
may fix RuntimeError: MUSA error: an illegal memory access was encountered
This commit is contained in:
parent
70a9243285
commit
917f73c38c
@ -29,6 +29,7 @@ import musa_utils
|
|||||||
if musa_utils.is_available():
|
if musa_utils.is_available():
|
||||||
import musa_accelerator
|
import musa_accelerator
|
||||||
os.environ["MUSA_VISIBLE_DEVICES"] = os.environ["_MUSA_VISIBLE_DEVICES"]
|
os.environ["MUSA_VISIBLE_DEVICES"] = os.environ["_MUSA_VISIBLE_DEVICES"]
|
||||||
|
os.environ["MUSA_LAUNCH_BLOCKING"] = "1"
|
||||||
|
|
||||||
|
|
||||||
class my_model_ckpt(ModelCheckpoint):
|
class my_model_ckpt(ModelCheckpoint):
|
||||||
@ -183,4 +184,4 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
logging.info(str(args))
|
logging.info(str(args))
|
||||||
main(args)
|
main(args)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user