Chronos: update installation panel (#7393)
This commit is contained in:
		
							parent
							
								
									4f7f9cd1ad
								
							
						
					
					
						commit
						c74320db0e
					
				
					 2 changed files with 20 additions and 83 deletions
				
			
		| 
						 | 
					@ -92,13 +92,6 @@ function refresh_cmd(){
 | 
				
			||||||
        enable(hardwares);
 | 
					        enable(hardwares);
 | 
				
			||||||
        enable(automls);
 | 
					        enable(automls);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if(version!="nightly"){
 | 
					 | 
				
			||||||
        disable(inferences);
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    else{
 | 
					 | 
				
			||||||
        enable(inferences);
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        //change cmd according to different choices
 | 
					        //change cmd according to different choices
 | 
				
			||||||
        if(model=="Deep_learning_models"){
 | 
					        if(model=="Deep_learning_models"){
 | 
				
			||||||
            if(ai=="pytorch"){
 | 
					            if(ai=="pytorch"){
 | 
				
			||||||
| 
						 | 
					@ -108,13 +101,8 @@ function refresh_cmd(){
 | 
				
			||||||
                            if(version=="nightly"){
 | 
					                            if(version=="nightly"){
 | 
				
			||||||
                                cmd="pip install --pre --upgrade bigdl-chronos[pytorch]";
 | 
					                                cmd="pip install --pre --upgrade bigdl-chronos[pytorch]";
 | 
				
			||||||
                            }else if(version=="stable"){
 | 
					                            }else if(version=="stable"){
 | 
				
			||||||
                                if(os=="win"){
 | 
					 | 
				
			||||||
                                    cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                                else{
 | 
					 | 
				
			||||||
                                cmd="pip install bigdl-chronos[pytorch]";
 | 
					                                cmd="pip install bigdl-chronos[pytorch]";
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                            }
 | 
					 | 
				
			||||||
                        }else if(hardware=="cluster"){
 | 
					                        }else if(hardware=="cluster"){
 | 
				
			||||||
                            if(os=="win"){
 | 
					                            if(os=="win"){
 | 
				
			||||||
                                cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					                                cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
				
			||||||
| 
						 | 
					@ -132,13 +120,8 @@ function refresh_cmd(){
 | 
				
			||||||
                            if(version=="nightly"){
 | 
					                            if(version=="nightly"){
 | 
				
			||||||
                                cmd="pip install --pre --upgrade bigdl-chronos[pytorch,automl]";
 | 
					                                cmd="pip install --pre --upgrade bigdl-chronos[pytorch,automl]";
 | 
				
			||||||
                            }else if(version=="stable"){
 | 
					                            }else if(version=="stable"){
 | 
				
			||||||
                                if(os=="win"){
 | 
					 | 
				
			||||||
                                    cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                                else{
 | 
					 | 
				
			||||||
                                cmd="pip install bigdl-chronos[pytorch,automl]";
 | 
					                                cmd="pip install bigdl-chronos[pytorch,automl]";
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                            }
 | 
					 | 
				
			||||||
                        }else if(hardware=="cluster"){
 | 
					                        }else if(hardware=="cluster"){
 | 
				
			||||||
                            if(os=="win"){
 | 
					                            if(os=="win"){
 | 
				
			||||||
                                cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					                                cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
				
			||||||
| 
						 | 
					@ -158,12 +141,7 @@ function refresh_cmd(){
 | 
				
			||||||
                            if(version=="nightly"){
 | 
					                            if(version=="nightly"){
 | 
				
			||||||
                                cmd="pip install --pre --upgrade bigdl-chronos[pytorch,inference]";
 | 
					                                cmd="pip install --pre --upgrade bigdl-chronos[pytorch,inference]";
 | 
				
			||||||
                            }else if(version=="stable"){
 | 
					                            }else if(version=="stable"){
 | 
				
			||||||
                                if(os=="win"){
 | 
					                                cmd="pip install bigdl-chronos[pytorch,inference]";
 | 
				
			||||||
                                    cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                                else{
 | 
					 | 
				
			||||||
                                    cmd="pip install bigdl-chronos[pytorch]";
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                        }else if(hardware=="cluster"){
 | 
					                        }else if(hardware=="cluster"){
 | 
				
			||||||
                            if(os=="win"){
 | 
					                            if(os=="win"){
 | 
				
			||||||
| 
						 | 
					@ -173,7 +151,7 @@ function refresh_cmd(){
 | 
				
			||||||
                                if(version=="nightly"){
 | 
					                                if(version=="nightly"){
 | 
				
			||||||
                                    cmd="pip install --pre --upgrade bigdl-chronos[pytorch,distributed,inference]";
 | 
					                                    cmd="pip install --pre --upgrade bigdl-chronos[pytorch,distributed,inference]";
 | 
				
			||||||
                                }else if(version=="stable"){
 | 
					                                }else if(version=="stable"){
 | 
				
			||||||
                                    cmd="pip install bigdl-chronos[pytorch,distributed]";
 | 
					                                    cmd="pip install bigdl-chronos[pytorch,distributed,inference]";
 | 
				
			||||||
                                }
 | 
					                                }
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
| 
						 | 
					@ -182,12 +160,7 @@ function refresh_cmd(){
 | 
				
			||||||
                            if(version=="nightly"){
 | 
					                            if(version=="nightly"){
 | 
				
			||||||
                                cmd="pip install --pre --upgrade bigdl-chronos[pytorch,automl,inference]";
 | 
					                                cmd="pip install --pre --upgrade bigdl-chronos[pytorch,automl,inference]";
 | 
				
			||||||
                            }else if(version=="stable"){
 | 
					                            }else if(version=="stable"){
 | 
				
			||||||
                                if(os=="win"){
 | 
					                                cmd="pip install bigdl-chronos[pytorch,automl,inference]";
 | 
				
			||||||
                                    cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                                else{
 | 
					 | 
				
			||||||
                                    cmd="pip install bigdl-chronos[pytorch,automl]";
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                        }else if(hardware=="cluster"){
 | 
					                        }else if(hardware=="cluster"){
 | 
				
			||||||
                            if(os=="win"){
 | 
					                            if(os=="win"){
 | 
				
			||||||
| 
						 | 
					@ -210,12 +183,7 @@ function refresh_cmd(){
 | 
				
			||||||
                            if(version=="nightly"){
 | 
					                            if(version=="nightly"){
 | 
				
			||||||
                                cmd="pip install --pre --upgrade bigdl-chronos[tensorflow]";
 | 
					                                cmd="pip install --pre --upgrade bigdl-chronos[tensorflow]";
 | 
				
			||||||
                            }else if(version=="stable"){
 | 
					                            }else if(version=="stable"){
 | 
				
			||||||
                                if(os=="win"){
 | 
					                                cmd="pip install bigdl-chronos[tensorflow]";
 | 
				
			||||||
                                    cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                                else{
 | 
					 | 
				
			||||||
                                    cmd="Please refer to <a href=' https://bigdl.readthedocs.io/en/v2.1.0/doc/Chronos/Overview/chronos.html#tensorflow-backend'>tensorflow installation guide.</a>";
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                        }else if(hardware=="cluster"){
 | 
					                        }else if(hardware=="cluster"){
 | 
				
			||||||
                            if(os=="win"){
 | 
					                            if(os=="win"){
 | 
				
			||||||
| 
						 | 
					@ -225,7 +193,7 @@ function refresh_cmd(){
 | 
				
			||||||
                                if(version=="nightly"){
 | 
					                                if(version=="nightly"){
 | 
				
			||||||
                                    cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,distributed]";
 | 
					                                    cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,distributed]";
 | 
				
			||||||
                                }else if(version=="stable"){
 | 
					                                }else if(version=="stable"){
 | 
				
			||||||
                                    cmd="Please refer to <a href=' https://bigdl.readthedocs.io/en/v2.1.0/doc/Chronos/Overview/chronos.html#tensorflow-backend'>tensorflow installation guide.</a>";
 | 
					                                    cmd="pip install bigdl-chronos[tensorflow,distributed]";
 | 
				
			||||||
                                }
 | 
					                                }
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
| 
						 | 
					@ -234,12 +202,7 @@ function refresh_cmd(){
 | 
				
			||||||
                            if(version=="nightly"){
 | 
					                            if(version=="nightly"){
 | 
				
			||||||
                                cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,automl]";
 | 
					                                cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,automl]";
 | 
				
			||||||
                            }else if(version=="stable"){
 | 
					                            }else if(version=="stable"){
 | 
				
			||||||
                                if(os=="win"){
 | 
					                                cmd="pip install bigdl-chronos[tensorflow,automl]";
 | 
				
			||||||
                                    cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                                else{
 | 
					 | 
				
			||||||
                                    cmd="Please refer to <a href=' https://bigdl.readthedocs.io/en/v2.1.0/doc/Chronos/Overview/chronos.html#tensorflow-backend'>tensorflow installation guide.</a>";
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                        }else if(hardware=="cluster"){
 | 
					                        }else if(hardware=="cluster"){
 | 
				
			||||||
                            if(os=="win"){
 | 
					                            if(os=="win"){
 | 
				
			||||||
| 
						 | 
					@ -249,7 +212,7 @@ function refresh_cmd(){
 | 
				
			||||||
                                if(version=="nightly"){
 | 
					                                if(version=="nightly"){
 | 
				
			||||||
                                    cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,distributed,automl]";
 | 
					                                    cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,distributed,automl]";
 | 
				
			||||||
                                }else if(version=="stable"){
 | 
					                                }else if(version=="stable"){
 | 
				
			||||||
                                    cmd="Please refer to <a href=' https://bigdl.readthedocs.io/en/v2.1.0/doc/Chronos/Overview/chronos.html#tensorflow-backend'>tensorflow installation guide.</a>";
 | 
					                                    cmd="pip install bigdl-chronos[tensorflow,distributed,automl]";
 | 
				
			||||||
                                }
 | 
					                                }
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
| 
						 | 
					@ -260,12 +223,7 @@ function refresh_cmd(){
 | 
				
			||||||
                            if(version=="nightly"){
 | 
					                            if(version=="nightly"){
 | 
				
			||||||
                                cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,inference]";
 | 
					                                cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,inference]";
 | 
				
			||||||
                            }else if(version=="stable"){
 | 
					                            }else if(version=="stable"){
 | 
				
			||||||
                                if(os=="win"){
 | 
					                                cmd="pip install bigdl-chronos[tensorflow,inference]";
 | 
				
			||||||
                                    cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                                else{
 | 
					 | 
				
			||||||
                                    cmd="Please refer to <a href=' https://bigdl.readthedocs.io/en/v2.1.0/doc/Chronos/Overview/chronos.html#tensorflow-backend'>tensorflow installation guide.</a>";
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                        }else if(hardware=="cluster"){
 | 
					                        }else if(hardware=="cluster"){
 | 
				
			||||||
                            if(os=="win"){
 | 
					                            if(os=="win"){
 | 
				
			||||||
| 
						 | 
					@ -275,7 +233,7 @@ function refresh_cmd(){
 | 
				
			||||||
                                if(version=="nightly"){
 | 
					                                if(version=="nightly"){
 | 
				
			||||||
                                    cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,distributed,inference]";
 | 
					                                    cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,distributed,inference]";
 | 
				
			||||||
                                }else if(version=="stable"){
 | 
					                                }else if(version=="stable"){
 | 
				
			||||||
                                    cmd="Please refer to <a href=' https://bigdl.readthedocs.io/en/v2.1.0/doc/Chronos/Overview/chronos.html#tensorflow-backend'>tensorflow installation guide.</a>";
 | 
					                                    cmd="pip install bigdl-chronos[tensorflow,distributed,inference]";
 | 
				
			||||||
                                }
 | 
					                                }
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
| 
						 | 
					@ -284,12 +242,7 @@ function refresh_cmd(){
 | 
				
			||||||
                            if(version=="nightly"){
 | 
					                            if(version=="nightly"){
 | 
				
			||||||
                                cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,automl,inference]";
 | 
					                                cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,automl,inference]";
 | 
				
			||||||
                            }else if(version=="stable"){
 | 
					                            }else if(version=="stable"){
 | 
				
			||||||
                                if(os=="win"){
 | 
					                                cmd="pip install bigdl-chronos[tensorflow,automl,inference]";
 | 
				
			||||||
                                    cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                                else{
 | 
					 | 
				
			||||||
                                    cmd="Please refer to <a href=' https://bigdl.readthedocs.io/en/v2.1.0/doc/Chronos/Overview/chronos.html#tensorflow-backend'>tensorflow installation guide.</a>";
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                        }else if(hardware=="cluster"){
 | 
					                        }else if(hardware=="cluster"){
 | 
				
			||||||
                            if(os=="win"){
 | 
					                            if(os=="win"){
 | 
				
			||||||
| 
						 | 
					@ -299,7 +252,7 @@ function refresh_cmd(){
 | 
				
			||||||
                                if(version=="nightly"){
 | 
					                                if(version=="nightly"){
 | 
				
			||||||
                                    cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,distributed,automl,inference]";
 | 
					                                    cmd="pip install --pre --upgrade bigdl-chronos[tensorflow,distributed,automl,inference]";
 | 
				
			||||||
                                }else if(version=="stable"){
 | 
					                                }else if(version=="stable"){
 | 
				
			||||||
                                    cmd="Please refer to <a href=' https://bigdl.readthedocs.io/en/v2.1.0/doc/Chronos/Overview/chronos.html#tensorflow-backend'>tensorflow installation guide.</a>";
 | 
					                                    cmd="pip install bigdl-chronos[tensorflow,distributed,automl,inference]";
 | 
				
			||||||
                                }
 | 
					                                }
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
| 
						 | 
					@ -314,7 +267,7 @@ function refresh_cmd(){
 | 
				
			||||||
                            if(version=="nightly"){
 | 
					                            if(version=="nightly"){
 | 
				
			||||||
                                cmd="pip install --pre --upgrade bigdl-chronos; pip install prophet==1.1.0";
 | 
					                                cmd="pip install --pre --upgrade bigdl-chronos; pip install prophet==1.1.0";
 | 
				
			||||||
                            }else if(version=="stable"){
 | 
					                            }else if(version=="stable"){
 | 
				
			||||||
                                cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					                                cmd="pip install bigdl-chronos; pip install prophet==1.1.0";
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                        }else if(hardware=="cluster"){
 | 
					                        }else if(hardware=="cluster"){
 | 
				
			||||||
                            cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					                            cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
				
			||||||
| 
						 | 
					@ -367,7 +320,7 @@ function refresh_cmd(){
 | 
				
			||||||
                            if(version=="nightly"){
 | 
					                            if(version=="nightly"){
 | 
				
			||||||
                                cmd="pip install --pre --upgrade bigdl-chronos; pip install prophet==1.1.0";
 | 
					                                cmd="pip install --pre --upgrade bigdl-chronos; pip install prophet==1.1.0";
 | 
				
			||||||
                            }else if(version=="stable"){
 | 
					                            }else if(version=="stable"){
 | 
				
			||||||
                                cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					                                cmd="pip install bigdl-chronos; pip install prophet==1.1.0";
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                        }else if(hardware=="cluster"){
 | 
					                        }else if(hardware=="cluster"){
 | 
				
			||||||
                            cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					                            cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
				
			||||||
| 
						 | 
					@ -421,13 +374,8 @@ function refresh_cmd(){
 | 
				
			||||||
                        if(version=="nightly"){
 | 
					                        if(version=="nightly"){
 | 
				
			||||||
                            cmd="pip install --pre --upgrade bigdl-chronos; pip install pmdarima==1.8.5";
 | 
					                            cmd="pip install --pre --upgrade bigdl-chronos; pip install pmdarima==1.8.5";
 | 
				
			||||||
                        }else if(version=="stable"){
 | 
					                        }else if(version=="stable"){
 | 
				
			||||||
                            if(os=="win"){
 | 
					 | 
				
			||||||
                                cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					 | 
				
			||||||
                            }
 | 
					 | 
				
			||||||
                            else{
 | 
					 | 
				
			||||||
                            cmd="pip install bigdl-chronos; pip install pmdarima==1.8.5";
 | 
					                            cmd="pip install bigdl-chronos; pip install pmdarima==1.8.5";
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                        }
 | 
					 | 
				
			||||||
                    }else if(hardware=="cluster"){
 | 
					                    }else if(hardware=="cluster"){
 | 
				
			||||||
                        if(os=="win"){
 | 
					                        if(os=="win"){
 | 
				
			||||||
                            cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					                            cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
				
			||||||
| 
						 | 
					@ -466,13 +414,8 @@ function refresh_cmd(){
 | 
				
			||||||
                        if(version=="nightly"){
 | 
					                        if(version=="nightly"){
 | 
				
			||||||
                            cmd="pip install --pre --upgrade bigdl-chronos; pip install pmdarima==1.8.5";
 | 
					                            cmd="pip install --pre --upgrade bigdl-chronos; pip install pmdarima==1.8.5";
 | 
				
			||||||
                        }else if(version=="stable"){
 | 
					                        }else if(version=="stable"){
 | 
				
			||||||
                            if(os=="win"){
 | 
					 | 
				
			||||||
                                cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					 | 
				
			||||||
                            }
 | 
					 | 
				
			||||||
                            else{
 | 
					 | 
				
			||||||
                            cmd="pip install bigdl-chronos; pip install pmdarima==1.8.5";
 | 
					                            cmd="pip install bigdl-chronos; pip install pmdarima==1.8.5";
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                        }
 | 
					 | 
				
			||||||
                    }else if(hardware=="cluster"){
 | 
					                    }else if(hardware=="cluster"){
 | 
				
			||||||
                        if(os=="win"){
 | 
					                        if(os=="win"){
 | 
				
			||||||
                            cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					                            cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
				
			||||||
| 
						 | 
					@ -510,15 +453,10 @@ function refresh_cmd(){
 | 
				
			||||||
            if(version=="nightly"){
 | 
					            if(version=="nightly"){
 | 
				
			||||||
                cmd="pip install --pre --upgrade bigdl-chronos";
 | 
					                cmd="pip install --pre --upgrade bigdl-chronos";
 | 
				
			||||||
            }else if(version=="stable"){
 | 
					            }else if(version=="stable"){
 | 
				
			||||||
                if(os=="win"){
 | 
					 | 
				
			||||||
                    cmd="Not supported, please refer to <a href='https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/windows_guide.html'>windows_guide.</a>";
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
                else{
 | 
					 | 
				
			||||||
                cmd="pip install bigdl-chronos"; 
 | 
					                cmd="pip install bigdl-chronos"; 
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    $("#cmd").html(cmd);
 | 
					    $("#cmd").html(cmd);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -97,10 +97,9 @@ Select your preferences in the panel below to find the proper install command. T
 | 
				
			||||||
                <tr>
 | 
					                <tr>
 | 
				
			||||||
                    <td colspan="1">Version</td>
 | 
					                    <td colspan="1">Version</td>
 | 
				
			||||||
                    <td colspan="2"><button id="nightly"
 | 
					                    <td colspan="2"><button id="nightly"
 | 
				
			||||||
                            title="For users would like to try chronos's latest feature">Nightly (2.2.0b)</button>
 | 
					                            title="For users would like to try chronos's latest feature">Nightly</button></td>
 | 
				
			||||||
                    </td>
 | 
					 | 
				
			||||||
                    <td colspan="2"><button id="stable"
 | 
					                    <td colspan="2"><button id="stable"
 | 
				
			||||||
                            title="For users would like to deploy chronos in their production">Stable (2.1.0)</button></td>
 | 
					                            title="For users would like to deploy chronos in their production">Stable</button></td>
 | 
				
			||||||
                </tr>
 | 
					                </tr>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                <tr class="taller_tr">
 | 
					                <tr class="taller_tr">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue