Skip to content

Commit

Permalink
[Neuron] Fix Neuron compilation logging (deepjavalibrary#2095)
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ys authored Jun 21, 2024
1 parent 9b6ff95 commit ac4acb8
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 ac4acb8

Please sign in to comment.