Skip to content

Python logging not working with version 0.9 and python 3.12 #403

Description

@koubaa
Python 3.12.3 (tags/v3.12.3:f6650f9, Apr  9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import logging
>>> import kp
>>> kp_logger = logging.getLogger("kp")
>>> kp_logger.setLevel(logging.INFO)
>>> mgr=kp.Manager()
>>> mgr.get_device_properties()
{'device_name': 'NVIDIA GeForce RTX 4060 Ti', 'max_work_group_count': (2147483647, 65535, 65535), 'max_work_group_invocations': 1024, 'max_work_group_size': (1024, 1024, 64), 'timestamps_supported': True}
>>> kp.__version__
'0.9.0'

According to the documentation at https://kompute.cc/overview/python-examples.html, I expect to see some logging output after the mgr = kp.Manager() line.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions