Good day. I want to simulate PyTorch on gem5-23.1 (the latest) with GPUFS. I noticed a GPUFS example under the ./config/examples/gpufs directory.
I built the X86/gem5.fast straight without any modification, i.e. “scons build/X86/gem5.fast”, and I tried “./build/X86/gem5.fast ./config/examples/gpufs/runfs.py” before running an OS.
It first raised "ModuleNotFoundError: No module named 'example.gpufs'; 'example' is not a package”, which I solved by touching a ./confg/examples/init.py. After that, it raised “NameError: name 'CorePair_Controller' is not defined”.
I searched the whole repo, and no ”CorePair_Controller“ is declared (nor defined). I was wondering if I missed something.
I would much appreciate it if there is a tutorial on this.
Regards,
Yee Hin Chong
[Public]
Hello,
We are in the process of completely overhauling the documentation for the upcoming release.
To address your issue, you need to build the VEGA_X86 protocol, instead of vanilla X86 . I’d also recommend not using runfs.py but rather the helper script configs/example/gpufs/vega10_kvm.py
.
-Matt
From: yuxuan-z via gem5-users gem5-users@gem5.org
Sent: Friday, June 14, 2024 1:37 AM
To: gem5-users@gem5.org
Cc: yuxuan-z yuxuan-z19@qq.com
Subject: [gem5-users] [GPUFS] NameError: name 'CorePair_Controller' is not defined
Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
Good day. I want to simulate PyTorch on gem5-23.1 (the latest) with GPUFS. I noticed a GPUFS example under the ./config/examples/gpufs directory.
I built the X86/gem5.fast straight without any modification, i.e. “scons build/X86/gem5.fast”, and I tried “./build/X86/gem5.fast ./config/examples/gpufs/runfs.py” before running an OS.
It first raised "ModuleNotFoundError: No module named 'example.gpufs'; 'example' is not a package”, which I solved by touching a ./confg/examples/init.py. After that, it raised “NameError: name 'CorePair_Controller' is not defined”.
I searched the whole repo, and no ”CorePair_Controller“ is declared (nor defined). I was wondering if I missed something.
I would much appreciate it if there is a tutorial on this.
Regards,
Yee Hin Chong