Skip to content

Commit

Permalink
no numba for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye committed Jul 17, 2023
1 parent 11ef5c1 commit 9ebf75a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions pegasus/main.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
from concurrent.futures import ProcessPoolExecutor, as_completed
from numba import njit
from joblib import Memory
# from numba import njit
# from joblib import Memory
import numpy as np

from pegasus.embedding_functions import MultiModalEmbeddingFunction

memory = Memory("PegasusStore", verbose=0)
# memory = Memory("PegasusStore", verbose=0)

@memory.cache
@njit
# @memory.cache
# # @njit
def optimized_embedding_function(modality, data):
return MultiModalEmbeddingFunction(modality)(data)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'pegasusX',
packages = find_packages(exclude=[]),
version = '0.2.9',
version = '0.3.0',
license='MIT',
description = 'pegasus - Pytorch',
author = 'Kye Gomez',
Expand Down

0 comments on commit 9ebf75a

Please sign in to comment.