-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DLFW changes 25.01 onwards #3356
Conversation
6fe0782
to
496e39d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. posted a minor suggestion
core/util/Exception.h
Outdated
#if defined(__GNUC__) && !defined(__clang__) | ||
#if __GNUC__ >= 13 | ||
#include <cstdint> | ||
#endif | ||
#elif defined(__clang__) | ||
#if __clang_major__ >= 13 | ||
#include <cstdint> | ||
#endif | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider changing to
// Include cstdint for GCC 13+ or Clang 13+
#if (defined(__GNUC__) && !defined(__clang__) && (__GNUC__ >= 13)) || \
(defined(__clang__) && (__clang_major__ >= 13))
#include <cstdint>
#endif
noxfile.py
Outdated
@@ -34,7 +34,7 @@ | |||
# Set epochs to train VGG model for accuracy tests | |||
EPOCHS = 25 | |||
|
|||
SUPPORTED_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12"] | |||
SUPPORTED_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.12"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC we dont support py 3.7, 3.8 anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I will remove them then
@@ -4,9 +4,9 @@ | |||
import torch | |||
import torch.nn as nn | |||
import torch_tensorrt as torchtrt | |||
import torch_tensorrt.ts.ptq as PTQ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fine to have but we should drop these tests from DLFW as this API is being deprecated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes they are dropped in DLFW
afbeaba
to
0039841
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some changes that do not conform to C++ style guidelines:
diff --git a/home/runner/work/TensorRT/TensorRT/core/util/Exception.h b/tmp/changes.txt
index d5a856f..8f05056 100644
--- a/home/runner/work/TensorRT/TensorRT/core/util/Exception.h
+++ b/tmp/changes.txt
@@ -1,7 +1,6 @@
// Include cstdint for GCC 13+ or Clang 13+
-#if (defined(__GNUC__) && !defined(__clang__) && (__GNUC__ >= 13)) || \
- (defined(__clang__) && (__clang_major__ >= 13))
- #include <cstdint>
+#if (defined(__GNUC__) && !defined(__clang__) && (__GNUC__ >= 13)) || (defined(__clang__) && (__clang_major__ >= 13))
+#include <cstdint>
#endif
#pragma once
ERROR: Some files do not conform to style guidelines
ea5229f
to
7aea483
Compare
Some minor changes for the NGC container release