Comments (7)
I just filed https://clipper.atlassian.net/browse/CLIPPER-135 to track this.
from clipper.
Does it ask for the login password or the SSH key password? If the ssh key is password protected, the underlying Python SSH library will prompt for your password.
from clipper.
No. Its asking for the login password. Maybe its because you are running all remote commands as sudo
?
from clipper.
Oh yeah that's likely it. We've mostly tested this on AWS where the default Ubuntu instances don't require a password for sudo. The problem is that the Docker commands require sudo, so it's independent of SSH access. Did this break things for you?
from clipper.
Oh i see. We mostly run docker without sudo privileges
https://github.com/sindresorhus/guides/blob/master/docker-without-sudo.md
It didnt break anything. Just that i didn't want to expose superuser in our python code when connecting to clipper.
The other option is adding the user to visudo to require NOPASSWD, which may be a security risk. Am not sure what is the right thing to do here. But would really wish that connecting to clipper can be seamless, as long as the user has the privileges to the server.
from clipper.
Yeah that totally makes sense. What if we modified clipper_manager so that you could specify whether sudo privileges were needed? If you're running Docker without sudo, then I don't think anything we do would need sudo privileges.
Something like:
clipper = clipper_manager.Clipper(host, user, keypath, sudo=False)
from clipper.
Awesome. That will be great π . Thank you.
from clipper.
Related Issues (20)
- Batch_size issue HOT 5
- Metrics
- Debugging input and output
- Number of predictions mismatch
- Potential deadlock when deleting model container replica queue
- Issue with speed of clipper with custom PyTorch model HOT 1
- Model Selection HOT 4
- Study the source code and development
- Dynamic Batching HOT 2
- discussion question HOT 2
- Failed to retrieve a prediction response within the specified latency SLO HOT 2
- No connected models found for query HOT 1
- all input-type (except double) do not work.
- Kubernetes Connection - the server could not find the requested resource
- Question for python_deployer.deploy_python_closure - case of multiple outputs from func
- About the source code HOT 1
- basic query example HOT 1
- develop test failed on win10: qf startup error *Option βthread_pool_sizeβ does not exist*
- Unregistering an application, and then registering again with different output doesn't change the output
- Documentation website unavailable(expired) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clipper.