Lightning-AI/lightning-thunder

Error on reentrant jit invocation

Open

#1,222 创建于 2024年9月30日

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)Python (114 fork)github user discovery
enhancementgood first issueux

仓库指标

Star
 (1,460 star)
PR 合并指标
 (PR 指标待抓取)

描述

...to provide a better error message. Most likely the easiest is to add something like

    if get_jit_ctx() is not None:
        raise NotImplementedError("Re-entrant jitting is not supported")

to the top of thunder.jit.thunder_general_jit and then write a test.

First step in #1126

cc @carmocca @borda

贡献者指南