The GitHub Actions job "Lint" on tvm.git/echuraev/fix_metal_codegen_hook has 
failed.
Run started by GitHub user echuraev (triggered by echuraev).

Head commit for run:
ea7882251935b1a322ee2b1197d2df7137adc55e / Egor Churaev <[email protected]>
[Metal] Let compile callback declare payload format via (payload, fmt)

A tvm_callback_metal_compile used purely for debugging/inspection may
return the MSL source unchanged. Previously, merely registering the
callback forced the module format to "metallib", so the runtime tried to
load the text source as a binary metallib and failed with "Invalid
library file" (issue #18798).

The callback may now return a (payload, format) pair to declare the
payload format. A bare str/bytes return keeps the legacy metallib
behavior. All kernels of a module share a single declared format, so a
callback that mixes formats across kernels (including a legacy metallib
return alongside a (payload, "metal") return) is rejected at codegen time
instead of producing a module that fails to load.

Report URL: https://github.com/apache/tvm/actions/runs/28547047674

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to