Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5140 Discussions

VTune Profiler Python support

cesare
Beginner
2,727 Views

Our project is using python 3.10.6 compiled from source, it seems that Vtune Profiler currently are not available for python 3.10.6.

All python execution are presented in CPython code, without python call info. 

 

NOTE: I have tried another project using python 2.7.18 compiled from source, with which Vtune Profiler works file.

 

Labels (1)
0 Kudos
7 Replies
AthiraM_Intel
Moderator
2,697 Views

Hi,

 

Thank you for posting in Intel Communities.

 

Could you please share the following details:

 

  1. OS and hardware details
  2. VTune version
  3. Sample reproducer code and the steps to reproduce the issue
  4. The screenshot of the error you are getting

 

We tried profiling a sample python program with python 3.10.8 using Vtune 2022.4.1. We are not able to see the source code. Is that the issue you are also facing?

 

 

 

Thanks.

 

0 Kudos
cesare
Beginner
2,680 Views

Hi

Thks for your responding

Here is my runtime environment (I have tried two env for profile):

Collect profile env 1:

cesare_0-1670984794829.png

  • VTune Version: Vtune 2022.1.0 (Command Line)
  • Python Version: Python 3.10.8 Debug Compiled

 

Collect profile env 2 (Docker) :

cesare_1-1670984861500.png

 

  • VTune Version: Vtune 2022.4.1 (Command Line)
  • Python Version: Python 3.10.8 Debug Compiled

 

Analyse env:

  • Windows GUI: VTune 2022.4.1

 

Here are the questions i am facing:

1. I cannot see python call stack (Python source code in your way?) when using VTune command line to profile python application

2. You can see that i am using Python Debug Version for profile. The reason is that standard compiled python will trigger assert error like  below, which will prevent futher profile collect

 

cesare_2-1670985703905.png

 

Thks in advance for you comming response.

0 Kudos
AthiraM_Intel
Moderator
2,643 Views

Hi,


Thank you for sharing the details. We are checking on this internally, will let you know the updates.



Thanks




0 Kudos
AthiraM_Intel
Moderator
2,568 Views

Hi,

 

 

Sorry for the inconvenience caused. We have informed the concerned team regarding your issues.

Is it possible to use python 3.8 or python 3.9 for your work as of now?

 

 

 

Thanks

 

 

0 Kudos
AthiraM_Intel
Moderator
2,526 Views

Hi,


Could you please let us know whether you can use python 3.8 or python 3.9 for your work as of now?



Thanks


0 Kudos
cesare
Beginner
2,494 Views

Hey, sorry for the delayed response!

Currently that the profiler is not available won't be the reason for our project to change our python version, so we made a choice hoping for a update on VTune profiler to support the python version. Before the update, we will use its basic feature while the inconvenience can be compromised.

0 Kudos
AthiraM_Intel
Moderator
2,234 Views

Hi,

 

We apologize for the delay in getting back to you.

 

As informed from the development team, Intel VTune Profiler will add support for Python 3.10 in future releases.

 


Thanks.


0 Kudos
Reply