[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-01-26 16:41:22 +00:00
parent 9115df2895
commit 2be7442dd5
9 changed files with 26 additions and 48 deletions

View file

@ -92,8 +92,7 @@ def send_code(code: str):
def main():
"""Entrypoint for local execution. Accepts code as input."""
# Example usage: pass code as a string argument
return_obj = send_code.remote(
"""
return_obj = send_code.remote("""
import torch
import math
@ -144,8 +143,7 @@ for step in range(20):
print(f"Step {step + 1}: x = {x.item():.4f}, loss = {loss.item():.4f}")
print(f"\\nOptimal x: {x.item():.4f}")
"""
)
""")
print("\n===== Optimizer Execution Result =====")
print(f"Filename: {return_obj['filename']}")