microsoft / triton-shared

Shared Middle-Layer for Triton Compilation
MIT License
134 stars 26 forks source link

Fix nightly workflow #41

Closed nhat-nguyen closed 8 months ago

nhat-nguyen commented 8 months ago

The nightly workflow is broken because GitHub doesn't populate the default values for the inputs variable, resulting in us passing in an empty string for a boolean input. As a workaround, I check if the user-provided input contains the true string instead (Github automatically converts the boolean to a string representation when using the contains function). Comparing with true directly is cumbersome according to this: https://github.com/actions/runner/issues/1483