用户收到此警告是因为在调用torch.utils.checkpoint时没有明确指定use_reentrant参数。从PyTorch的文档和警告信息来看,这是为了提醒用户,在未来的版本中,use_reentrant的默认值可能会改变,因此最好显式指定以避免潜在的问题。 4. 提供解决方案:如何正确使用use_reentrant参数或采取其他措施来避免此警告 为了避免此警告并...
pack-bitmap.c list-objects: pass full pathname to callbacks Feb 13, 2016 pack-bitmap.h pack-bitmap.c: make pack_bitmap_filename() static Jan 16, 2015 pack-check.c convert trivial cases to ALLOC_ARRAY Feb 23, 2016 pack-objects.c use REALLOC_ARRAY for changing the allocation size of...
prompt.h prompt.c: remove git_getpass() nobody uses Jan 16, 2015 quote.c quote: implement sq_quotef() Mar 2, 2016 quote.h quote: implement sq_quotef() Mar 2, 2016 reachable.c reachable.c: use error_errno() May 10, 2016 reachable.h pack-objects: match prune logic for discarding...
pack-bitmap.c list-objects: pass full pathname to callbacks Feb 13, 2016 pack-bitmap.h pack-bitmap.c: make pack_bitmap_filename() static Jan 16, 2015 pack-check.c convert trivial cases to ALLOC_ARRAY Feb 23, 2016 pack-objects.c use REALLOC_ARRAY for changing the allocation size of...