-
Notifications
You must be signed in to change notification settings - Fork 189
Open
Labels
Description
Hi Team,
Due to https://github.com/ai-dynamo/nixl/blob/main/src/api/python/_api.py#L26
We are unable to use loggers in our local code.
As the the nixl logger supersedes while using nixl agent
The logger.info doesn't work
i.e.
def test_nixl_api(self):
"""Test that nixl API can be imported."""
test_name = "test_nixl_api"
try:
from nixl._api import nixl_agent, nixl_agent_config
logger.info("nixl._api imported successfully")
log_test_result(test_name, 'passed', f"NIXL API imported successfully on {DEVICE}")
assert True
except Exception as e:
log_test_result(test_name, 'failed', f"NIXL API not available: {e}")
pytest.fail(f"NIXL API not available: {e}")