Skip to content

Commit

Permalink
[Neuron] Fix Neuron compilation logging (deepjavalibrary#2095)
Browse files Browse the repository at this point in the history
(cherry picked from commit ac4acb8)
  • Loading branch information
a-ys authored and tosterberg committed Jul 18, 2024
1 parent e22b1d3 commit a749a65
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions engines/python/setup/djl_python/neuron_utils/model_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
from djl_python.neuron_utils.utils import NeuronXModelAdapter, get_neuronxcc_version
from huggingface_hub import hf_hub_download

# Temporary Fix: These loggers are disabled during vLLM import.
# Remove when fixed in vLLM
logging.getLogger("NEURON_CC_WRAPPER").disabled = False
logging.getLogger("NEURON_CACHE").disabled = False


class ModelLoader(ABC):

Expand Down

0 comments on commit a749a65

Please sign in to comment.