Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the model (HWR) execution flow #1

Open
yongwonshin opened this issue Jun 12, 2023 · 0 comments
Open

Question about the model (HWR) execution flow #1

yongwonshin opened this issue Jun 12, 2023 · 0 comments

Comments

@yongwonshin
Copy link

Hi,

I try to execute the models in the paper "Hardware Architecture and Software Stack for PIM Based on Commercial DRAM Technology : Industrial Product" using oneMCC repo.

Following instructions in README of PimAiCompiler, I could successfully execute HWR model using simpleMain binary. However, when running the model, it seems that the LSTM module is executed on AMDGPU, not on the PIM emulator. LSTM layer is mapped to the native module of PyTorch, at::lstm. I wonder if it is an expected result, or if I missed something. A Linear layer is successfully executed on PIM emulator (by customAtenAddmm/customAtenMatmul).

Similarly, PimAiCompiler doesn't seem to map element-wise addition/multiplication to custom PIM kernels.

Below is my runtime/hardware environment

  • GPU: Radeon RX Vega 64
  • System: built with modified docker file in PimAiCompiler (based on rocm/tensorflow:rocm4.0-tf2.3-dev)
  • ROCm version: 4.0.0
  • Python: 3.8
  • PyTorch: custom build from source based on v1.10.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant