Skip to content
New issue

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

[Drivers] Suppress OSError #278

Merged
merged 1 commit into from
Jun 13, 2023
Merged

[Drivers] Suppress OSError #278

merged 1 commit into from
Jun 13, 2023

Conversation

hjjq
Copy link
Member

@hjjq hjjq commented Jun 12, 2023

No description provided.

@yaoyaoding
Copy link
Member

Thanks @hjjq !

@yaoyaoding yaoyaoding merged commit cdd75ec into hidet-org:main Jun 13, 2023
@hjjq hjjq deleted the suppress branch June 14, 2023 21:28
vadiklyutiy pushed a commit that referenced this pull request Jul 22, 2024
Closes #278 

Allowing the case in calls `getitem(x, index)` where `x` is a tensor on
GPU whereas `index` is a tensor on CPU, which is allowed in PyTorch.
Also reinforced the same constraint as PyTorch: `index` must be either
on GPU or the same device as `x`.
vadiklyutiy pushed a commit that referenced this pull request Jul 23, 2024
Closes #278 

Allowing the case in calls `getitem(x, index)` where `x` is a tensor on
GPU whereas `index` is a tensor on CPU, which is allowed in PyTorch.
Also reinforced the same constraint as PyTorch: `index` must be either
on GPU or the same device as `x`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants