Skip to content

Windows not yet supported for torch.compile #1315

@Kilgorio

Description

@Kilgorio

(shark.venv) PS E:\shark2\SHARK\shark\examples\shark_inference\llama\llama\llama> python shark_model.py
tensor([[0.4136]])
Traceback (most recent call last):
File "E:\shark2\SHARK\shark\examples\shark_inference\llama\llama\llama\shark_model.py", line 172, in
dynamo_callable = dynamo.optimize(refbackend_torchdynamo_backend)(compile_via_shark)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\shark2\SHARK\shark.venv\Lib\site-packages\torch_dynamo\eval_frame.py", line 479, in optimize
check_if_dynamo_supported()
File "E:\shark2\SHARK\shark.venv\Lib\site-packages\torch_dynamo\eval_frame.py", line 433, in check_if_dynamo_supported
raise RuntimeError("Windows not yet supported for torch.compile")
RuntimeError: Windows not yet supported for torch.compile

idk tbh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions