Harry Huang
Harry Huang
首先感谢楼主让我也注意到了这个问题. 除了楼主的做法, 我觉得也可以参考代码作者调用其他Logger方法的位置, 将 `(*Logger).WithCaller()` 放到 `(*Logger).Infof()` 等函数中, 不过需要在所有输出函数上都加上, 没有楼主简洁, 但效果是一样的. ```go func (l *Logger) Infof(ctx context.Context,format string, v ...interface{}) { l.WithContext(ctx).WithTrace().WithCaller(2).Output(LevelInfo, fmt.Sprintf(format, v...)) } ```
首先感谢楼主让我也注意到了这个问题, 关于判断前缀匹配, 能否使用如下的代码呢? 我感觉可能会简洁一些. 其中, `req.URL.Path == group.prefix` 对应楼主 `len(req.URL.Path) > len(group.prefix)` 而后者 `strings.HasPrefix(req.URL.Path, group.prefix+"/")` 对应 `request.URL.Path[len(group.prefix)] != '/'` ```go if req.URL.Path == group.prefix || strings.HasPrefix(req.URL.Path, group.prefix+"/") { middlewares =...
Hi @yzh119, sorry to bother you. Just wanted to gently follow up on this issue. Could you please take a look when you have a moment? Thank you!
 你好, 请问之后你解决了这个问题了吗? 我在运行 build.sh 时也遇到了类似的报错
> 你好,你后续解决了吗?我遇到了相似的错误 用 docker 是可以跑起来的
> I found that we can use driver api cuFuncGetAttribute to get local_size_bytes for analyzing register spill. The example code with cute dsl kernel is as follows (I don't know...
> The api is updated after cute dsl 4.3. The right way now is as following: > > (Note that the kernel should be compiled with --keep-cubin, and the `compiled_kernel`...