|
1 | 1 | #!/usr/bin/env python3 |
2 | | -# Copyright 2021-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
| 2 | +# Copyright 2021-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
3 | 3 | # |
4 | 4 | # Redistribution and use in source and binary forms, with or without |
5 | 5 | # modification, are permitted provided that the following conditions |
@@ -78,13 +78,14 @@ def sed(pattern, replace, source, dest=None): |
78 | 78 | parser.add_argument( |
79 | 79 | "--dest-dir", type=str, required=True, help="Destination directory." |
80 | 80 | ) |
81 | | - parser.add_argument( |
| 81 | + platform_group = parser.add_mutually_exclusive_group() |
| 82 | + platform_group.add_argument( |
82 | 83 | "--linux", |
83 | 84 | action="store_true", |
84 | 85 | required=False, |
85 | 86 | help="Include linux specific artifacts.", |
86 | 87 | ) |
87 | | - parser.add_argument( |
| 88 | + platform_group.add_argument( |
88 | 89 | "--windows", |
89 | 90 | action="store_true", |
90 | 91 | required=False, |
@@ -210,7 +211,7 @@ def sed(pattern, replace, source, dest=None): |
210 | 211 | "tritonclient/utils/Release/cshm.dll", |
211 | 212 | os.path.join(FLAGS.whl_dir, "tritonclient/utils/shared_memory/cshm.dll"), |
212 | 213 | ) |
213 | | - # FIXME: Enable when Windows supports GPU tensors |
| 214 | + # FIXME: Enable when Windows supports GPU tensors DLIS-4169 |
214 | 215 | # cpdir( |
215 | 216 | # "tritonclient/utils/cuda_shared_memory", |
216 | 217 | # os.path.join(FLAGS.whl_dir, "tritonclient/utils/cuda_shared_memory"), |
|
0 commit comments