← Back to events
ActiveAIRelease

ciflow/inductor/195430: [Dynamo] preserve autocast wrapper keyword arguments

Photo: PyTorch Releases

What happened

Autocast wrappers with a variadic keyword parameter keep supplied values nested under that parameter after signature binding. Flatten the mapping before extracting standard autocast settings so explicit values are not replaced by defaults. Test Plan: spin quicklint python test/cpp_extensions/open_registration_extension/torch_openreg/tests/test_compile.py TestAutocast python test/dynamo/test_ctx_manager.py CtxManager…

Summary assembled by rule from the sources below

Why it's spreading

Sources