diff options
Diffstat (limited to 'src/graph/xml.h')
-rw-r--r-- | src/graph/xml.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/graph/xml.h b/src/graph/xml.h index fa04527..22e016f 100644 --- a/src/graph/xml.h +++ b/src/graph/xml.h @@ -218,8 +218,9 @@ static ncclResult_t kvConvertToInt(const char* str, int* value, struct kvDict* d } d++; } - WARN("KV Convert to int : could not find value of '%s' in dictionary", str); - return ncclInternalError; + INFO(NCCL_GRAPH, "KV Convert to int : could not find value of '%s' in dictionary, falling back to %d", str, d->value); + *value = d->value; + return ncclSuccess; } static ncclResult_t kvConvertToStr(int value, const char** str, struct kvDict* dict) { struct kvDict* d = dict; |