fix path issue (#9696)
This commit is contained in:
		
							parent
							
								
									37f509bb95
								
							
						
					
					
						commit
						3afed99216
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -43,6 +43,8 @@ RUN env DEBIAN_FRONTEND=noninteractive apt-get update && \
 | 
			
		|||
# Install vllm dependencies
 | 
			
		||||
    pip install --upgrade fastapi && \
 | 
			
		||||
    pip install --upgrade "uvicorn[standard]" && \
 | 
			
		||||
# Add Qwen support
 | 
			
		||||
    pip install --upgrade transformers_stream_generator einops && \
 | 
			
		||||
# Copy vLLM-Serving
 | 
			
		||||
    cp -r ./BigDL/python/llm/example/CPU/vLLM-Serving/ ./vLLM-Serving && \
 | 
			
		||||
    rm -rf ./BigDL
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,7 +9,7 @@ cd build
 | 
			
		|||
cmake ..
 | 
			
		||||
make -j install
 | 
			
		||||
mkdir -p /opt/intel/oneccl
 | 
			
		||||
mv ./build/_install/env /opt/intel/oneccl
 | 
			
		||||
mv ./_install/env /opt/intel/oneccl
 | 
			
		||||
# 2. install torch and ipex
 | 
			
		||||
pip install torch==2.1.0
 | 
			
		||||
pip install intel_extension_for_pytorch==2.1.0 -f https://developer.intel.com/ipex-whl-stable-cpu
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue