IBM / alchemy-logging

Application logging libraries with consistent semantics across c++, python, typescript, and go
MIT License
12 stars 11 forks source link

TorchTraceConflict: #434

Closed gabe-l-hart closed 3 months ago

gabe-l-hart commented 3 months ago

Description

Update logic for setting stacklevel to work with external values

Changes

Update the logic to respect and augment other wrapper functions that set stacklevel

Testing

Added a unit test that repros the conflict when torch explicitly sets stacklevel

Related Issue(s)

Addresses #432