Update ruff to 0.11.2 (#36962)
* update * update * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -152,7 +152,7 @@ class QuantizationMessage(Message):
|
||||
job_result,
|
||||
failures,
|
||||
device,
|
||||
text=f'Number of failures: {job_result["failed"][device]}',
|
||||
text=f"Number of failures: {job_result['failed'][device]}",
|
||||
)
|
||||
|
||||
print("Sending the following reply")
|
||||
@@ -203,7 +203,7 @@ if __name__ == "__main__":
|
||||
"job_link": {},
|
||||
}
|
||||
for quant in quantization_matrix
|
||||
if f"run_quantization_torch_gpu_{ quant }_test_reports" in available_artifacts
|
||||
if f"run_quantization_torch_gpu_{quant}_test_reports" in available_artifacts
|
||||
}
|
||||
|
||||
github_actions_jobs = get_jobs(
|
||||
@@ -220,7 +220,7 @@ if __name__ == "__main__":
|
||||
break
|
||||
|
||||
for quant in quantization_results.keys():
|
||||
for artifact_path in available_artifacts[f"run_quantization_torch_gpu_{ quant }_test_reports"].paths:
|
||||
for artifact_path in available_artifacts[f"run_quantization_torch_gpu_{quant}_test_reports"].paths:
|
||||
artifact = retrieve_artifact(artifact_path["path"], artifact_path["gpu"])
|
||||
if "stats" in artifact:
|
||||
# Link to the GitHub Action job
|
||||
|
||||
Reference in New Issue
Block a user