Giter VIP home page Giter VIP logo

kubejobs's Introduction

Antreas Antoniou

I am a Machine Learning Research Associate at the University of Edinburgh, supervised by Prof. Amos Storkey. I am a member of the BayesWatch research group and the Adaptive and Neural Computation (ANC) research institute.

Leading my research interests is Multi-Modal Learning, specifically targeting the synergistic integration of text, images, audio, and video data. This is followed by the development of Self-Supervised Methods, inspired by mechanisms of infant learning and principles of evolutionary computation.

Additional key areas include Meta-Learning, Adversarial Learning, and Optimization Techniques Inspired by Evolutionary Optimization. These are applied across both differentiable and gradient-free optimization paradigms. Other relevant research dimensions include Inductive Biases, Scalability, Computational Efficiency, and Memory-Augmented Neural Networks.

For more information see my website: https://antreas.io/home/

kubejobs's People

Contributors

antreasantoniou avatar aryopg avatar gautierdag avatar github-actions[bot] avatar pminervini avatar ys-zong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

kubejobs's Issues

Update README

Hi there,

I was trying out the first script in the README. This fails at importing KubernetesJob as it is not exposed by the top package. The correct current import is from kubejobs.jobs import KubernetesJob.

After that, I'm getting the following error:

Traceback (most recent call last):
  File "/home/eidf029/eidf029/evankri-infk8s/python_pod.py", line 4, in <module>
    job = KubernetesJob(
          ^^^^^^^^^^^^^^
  File "/home/eidf029/eidf029/evankri-infk8s/miniconda3/lib/python3.11/site-packages/kubejobs/jobs.py", line 125, in __init__
    else MAX_CPU // (MAX_GPU - gpu_limit + 1)
                     ~~~~~~~~^~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'

`gpu_limit` used as it is never `None`

from kubejobs.jobs import KubernetesJob

# Create a Kubernetes Job with a name, container image, and command
job = KubernetesJob(
    name="my-job",
    image="ubuntu:20.04",
    command=["/bin/bash", "-c", "echo 'Hello, World!'"],
)

# Generate the YAML configuration for the Job
print(job.generate_yaml())

# Run the Job on the Kubernetes cluster
job.run()

yields this:

Traceback (most recent call last):
  File "XXX/pminervini/hello.py", line 4, in <module>
    job = KubernetesJob(
          ^^^^^^^^^^^^^^
  File "XXX/pminervini/miniconda3/lib/python3.11/site-packages/kubejobs/jobs.py", line 129, in __init__
    else MAX_CPU // (MAX_GPU - gpu_limit + 1)
                     ~~~~~~~~^~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.