Hello everyone,
I am trying to simulate Python 3 programs which use PyTorch deep learning libraries on Sniper 7.2. Currently I am doing the simulation by giving Python source code as input to Sniper. I use a Makefile which contains the below command -
../../run-sniper -v -n 1 -c gainestown -- python xyz.py -p 1
The simulation fails if the python 3 program xyz.py uses some python libraries that are not compatible with Python 2.7 (which Sniper 7.2 uses).
Next, I am thinking to use a trace of xyz.py generated by pin tool as input to Sniper (instead of python source code as input). If this is feasible, can we use Python 3 (and deep learning libraries compatible with Python 3) for writing the
application while Python 2 is used by Sniper?
I am not sure if we can generate and use a trace using pin tool and use it to perform simulation on Sniper 7.2. Also, can we successfully generate traces for a Python program using Pin tool?
Please let me know if this would work and also some pointers on how to do this.
Any leads would be appreciated.
Thanks,
Shailja