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

Add torch.Tensor as option for online and offline retrieval #4890

Open
franciscojavierarceo opened this issue Jan 3, 2025 · 0 comments
Open
Labels
kind/feature New feature or request

Comments

@franciscojavierarceo
Copy link
Member

Is your feature request related to a problem? Please describe.
Feast should create an extra to support PyTorch tensors as a first-class citizen.

Describe the solution you'd like

# Fetch features from Feast
 feature_vector = feature_store.get_online_features(
        entity_rows=[entity_row],       
       features=self.feature_refs
 ).to_tensor(kind='torch') # default is torch, could support Tensorflow later

Describe alternatives you've considered
N/A

Additional context
N/A

@franciscojavierarceo franciscojavierarceo added the kind/feature New feature or request label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant