We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd48c41 commit 6a8f451Copy full SHA for 6a8f451
sdgym/_benchmark/benchmark.py
@@ -159,7 +159,11 @@ def _get_user_data_script(
159
):
160
compute_service = config['service']
161
swap_gb = int(config.get('swap_gb', 32))
162
- gpu = bool(config.get('gpu', False))
+ gpu = (
163
+ bool(config.get('gpu'))
164
+ or int(config.get('gpu_count', 0)) > 0
165
+ or bool(config.get('gpu_type'))
166
+ )
167
upload_logs = bool(config.get('upload_logs', True))
168
169
aws_key = credentials['aws']['aws_access_key_id']
0 commit comments