We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider following task definition:
@task def flyte_test_task(x: torch.Tensor) -> None: print(x)
Then register. Then execute with:
PROJECT = ... DOMAIN = ... remote = FlyteRemote(config=Config.auto()) task = remote.fetch_task(name="flyte_test_task", project=PROJECT, domain=DOMAIN) execution = remote.execute( task, project=PROJECT, domain=DOMAIN, inputs={"x": torch.tensor([1, 2, 3])}, )
This triggers error:
TypeError: No automatic conversion found from type <class 'torch.Tensor'> to FlyteFile.Supported (os.PathLike, str, Flytefile)
The execution should be created successfully.
Using flytekit version 1.14.3
1.14.3
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Consider following task definition:
Then register. Then execute with:
This triggers error:
Expected behavior
The execution should be created successfully.
Additional context to reproduce
Using flytekit version
1.14.3
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: