Lurkrazy commented on issue #17495:
URL: https://github.com/apache/tvm/issues/17495#issuecomment-2544791676

   Looks like LocalRunner and LocalBuilder work fine with it. I comment out 
LocalRPCMeasureContext and used auto_scheduler.LocalRunner.
   
   ```
   -        measure_ctx = auto_scheduler.LocalRPCMeasureContext(
   -            repeat=1, min_repeat_ms=min_repeat_ms, timeout=10
   -        )
   +        # measure_ctx = auto_scheduler.LocalRPCMeasureContext(
   +        #     repeat=1, min_repeat_ms=min_repeat_ms, timeout=10
   +        # )
            tuning_opt = auto_scheduler.TuningOptions(
                num_measure_trials=n_trials,
   -            runner=measure_ctx.runner,
   +            runner=auto_scheduler.LocalRunner(timeout=10),
   +            builder=auto_scheduler.LocalBuilder(timeout=10),
                measure_callbacks=[auto_scheduler.RecordToFile(log_file)],
            )
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to