[CI/CD] add neuron docker and ci test scripts (#3571)
This commit is contained in:
3
setup.py
3
setup.py
@ -204,7 +204,8 @@ def _is_neuron() -> bool:
|
||||
subprocess.run(["neuron-ls"], capture_output=True, check=True)
|
||||
except (FileNotFoundError, PermissionError, subprocess.CalledProcessError):
|
||||
torch_neuronx_installed = False
|
||||
return torch_neuronx_installed
|
||||
return torch_neuronx_installed or os.environ.get("VLLM_BUILD_WITH_NEURON",
|
||||
False)
|
||||
|
||||
|
||||
def _is_cpu() -> bool:
|
||||
|
||||
Reference in New Issue
Block a user