We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0346985 commit a2d1a49Copy full SHA for a2d1a49
core/metrics/metax_gpu.go
@@ -30,6 +30,7 @@ import (
30
"huatuo-bamai/internal/log"
31
"huatuo-bamai/pkg/metric"
32
"huatuo-bamai/pkg/tracing"
33
+ "huatuo-bamai/pkg/types"
34
)
35
36
func init() {
@@ -41,7 +42,7 @@ type metaxGpuCollector struct{}
41
42
func newMetaxGpuCollector() (*tracing.EventTracingAttr, error) {
43
// Init MetaX SML lib
44
if err := sml.Init(); err != nil {
- return nil, fmt.Errorf("failed to init sml: %w", err)
45
+ return nil, types.ErrNotSupported
46
}
47
48
return &tracing.EventTracingAttr{
0 commit comments