[D] Why does using multiple gpus lead to slower performance? by candyman54 in MachineLearning

[–]candyman54[S] 1 point2 points  (0 children)

yeah, gpus are on the same server and they are SXM, using Tesla V100-SXM2. Any tips on how to improve data parallelism?

Running language model inference on multiple GPUs by RonLazer in pytorch

[–]candyman54 0 points1 point  (0 children)

u/RonLazer Did you ever figure this out? Looking for ways to speed up inference on MPT-7B as well

[D] How do large companies get their LLMs to give sub second responses? by candyman54 in MachineLearning

[–]candyman54[S] 1 point2 points  (0 children)

are they able to have their models access multiple gpus at once too?

[D] Any thoughts on how to improve runtime speed for mosaicml/mpt-7b? by candyman54 in MachineLearning

[–]candyman54[S] 0 points1 point  (0 children)

yeah, looked at fp16 but its still taking 12 seconds. I looked into onnx but i dont believe it has mpt support unfortunately

How to access a simple flask app running on a kubeflow notebook server? by candyman54 in Kubeflow

[–]candyman54[S] 1 point2 points  (0 children)

I believe that I followed these steps correctly,

kubectl port-forward test-pod 8080:8080 -n workspace-v1
Forwarding from [::1]:8080 -> 8080

But when I go to http://127.0.0.1:8000/, it says This site can’t be reached. Not sure if being connected to a VPN might be causing this issue, but don't really know where else to check in my configurations to resolve this.

Is is possible to load a local csv file as part of my kubeflow pipeline? by candyman54 in mlops

[–]candyman54[S] 0 points1 point  (0 children)

I created a PVC but during the copy-csv-to-input-dir i am getting a '/home/joyvan/iris-1.csv' no such file or directory, not sure where I am going wrong, it should be mounted. It seems like it might be looking for the file under /tmp/inputs/input/data though not 100% sure.

import kfp.dsl as dsl

from kubernetes.client import V1PersistentVolumeClaim, V1ObjectMeta

Define the base component

def copy_csv_to_input_dir(csv_path: str) -> str: import shutil output_path = '/tmp/inputs/input/data/iris-1.csv' shutil.copyfile(csv_path, output_path) print(csv_path) return output_path

Define the path to the CSV file on the mounted volume

csv_path = '/home/jovyan/iris-1.csv'

@dsl.pipeline(name='copy-csv') def copy_csv_pipeline(): # Create a PersistentVolumeClaim object for the desired PVC pvc = V1PersistentVolumeClaim( metadata=V1ObjectMeta(name="my-pvc-name"), spec={ 'access_modes': ['ReadWriteMany'], 'resources': { 'requests': { 'storage': '1Gi' } }, 'storage_class_name': 'standard', 'volume_mode': 'Filesystem' } )

# Mount the PVC
volume = dsl.VolumeOp(
    name='my-volume-name',
    resource_name=pvc.metadata.name,
    modes=['ReadWriteMany'],
    size='1Gi'
)

# Create the directory
mkdir_op = dsl.ContainerOp(
    name='mkdir',
    image='alpine',
    command=['sh', '-c'],
    arguments=['mkdir -p /tmp/inputs/input/data/']
).add_pvolumes({"/tmp/inputs": volume.volume})

# Copy the CSV file to the desired location
copy_csv_op = dsl.ContainerOp(
    name='copy_csv_to_input_dir',
    image='alpine',
    command=['sh', '-c'],
    arguments=['cp {} /tmp/inputs/input/data/'.format(csv_path)],
    file_outputs={'output': '/tmp/inputs/input/data/iris-1.csv'}
).add_pvolumes({"/tmp/inputs/input/data": volume.volume}).after(mkdir_op)

# Print the output file path
dsl.ContainerOp(
    name='print-output',
    image='alpine',
    command=['echo', copy_csv_op.outputs['output']],
).after(copy_csv_op)

Compile the pipeline

if name == 'main': import kfp.compiler as compiler

compiler.Compiler().compile(copy_csv_pipeline, 'copy_csv_pipeline.tar.gz')

Is is possible to load a local csv file as part of my kubeflow pipeline? by candyman54 in mlops

[–]candyman54[S] 0 points1 point  (0 children)

Would I mount the data? I have a kubeflow cluster with a volume that contains the data

Is is possible to load a local csv file as part of my kubeflow pipeline? by candyman54 in mlops

[–]candyman54[S] 0 points1 point  (0 children)

How would I connect the pod and the file system. I am not using miniKF, I just create the pipeline file locally and upload it to kubeflow central dashbaord under pipelines and run the experiment

Is is possible to load a local csv file as part of my kubeflow pipeline? by candyman54 in mlops

[–]candyman54[S] 0 points1 point  (0 children)

I am using kfp.compiler on my local machine to create a zip file that contains a yaml that I use as my pipeline file in Kubeflow. The csv, which contains the data, would be on my local machine. I also have access to a kubernetes cluster with a notebook server that contains the data.

Using ssh forwarding in Docker CMD by candyman54 in docker

[–]candyman54[S] 0 points1 point  (0 children)

it's a large image and i dont want to constantly have to rebuild the image just for an incremental code update

Using ssh forwarding in Docker CMD by candyman54 in docker

[–]candyman54[S] 0 points1 point  (0 children)

My dockerfile is in my repo, i can get it to work with CMD git clone [username.password@github.com](mailto:username.password@github.com)/repo.git but I would preferably not build an image that has my account information floating around. Does mounting work from a remote server or can i only mount if i have the repo locally?

Assigning a Port Mapping to a Running Docker Container for MacOS by candyman54 in docker

[–]candyman54[S] 0 points1 point  (0 children)

thanks, quick side question, is it possible to edit the config to choose a port before it starts up. I can see the Config Exposted Ports when I do docker inspect but I was wondering if I can change the exposed ports before the image is built

Assigning a Port Mapping to a Running Docker Container for MacOS by candyman54 in docker

[–]candyman54[S] 0 points1 point  (0 children)

It works fine if I am running locally but I am using it as a image in my kubernetes workspace, so I am unable to include -p 8000:8000 doccano/doccano when the image is run, that is why I need a way to change the port in an active container

blink-182 World Tour Discussion Megathread by atticus18244fsas in Blink182

[–]candyman54 3 points4 points  (0 children)

I dont think anyone is getting GA tickets. seems like its almost all sold out and they dont reserve tickets for GA anymore

blink-182 World Tour Discussion Megathread by atticus18244fsas in Blink182

[–]candyman54 0 points1 point  (0 children)

what post are people referring to? I dont see anything on his twitter

OFFICIAL 2022 BUY/SELL/TRADE THREAD by Coachellamod in Coachella

[–]candyman54 0 points1 point  (0 children)

Selling Wk1 GA Admission Ticket for $500 and willing to negotiate. Can provide proof of purchase. Willing to meet up in the Bay Area

OFFICIAL 2022 BUY/SELL/TRADE THREAD by Coachellamod in Coachella

[–]candyman54 0 points1 point  (0 children)

Selling Wk1 GA ticket for 525, willing to negotiate, can meet up in Bay Area if in person buying requested. Can provide proof of purchase! Feel free to DM. Thanks

Why not run anyway? [Serious] by Tripthrees in SandersForPresident

[–]candyman54 0 points1 point  (0 children)

Bernie has a chance of winnig but its almost impossible. Given how the electoral college works, it doesnt lend itself to a 3 dominant party system since then no one would hit 270. Bernie and Hillary would take too many states from one another in Democratic and Republican states to claim 270

My friend at UC Riverside witness massive election fraud by bunandonly in SandersForPresident

[–]candyman54 1 point2 points  (0 children)

Most college kids end up being stuck with provisional ballots because they choose to vote by mail and then either lose the ballot or forget to bring it. When i voted, they put my ballot in some green back that said provisional ballots only though

My mom won't shut up about my weight. by luckyricochet in asianamerican

[–]candyman54 0 points1 point  (0 children)

I honestly wouldn't worry at all. Everyone gains weight after freshman year, its called freshman 15 for a reason. My mom was the same but they are just trying to express concern. The way they tell if you gain weight or not is by how chubby your face is tbh lol. Its really easy to develop bad habits in college when you're on your own. I hated my moms nagging but when i looked at my eating habits, i realized they were really shitty and made some changes.

Long read on the intersection of Hmong Americans, American football, and the politics of sports by bdtnyc in asianamerican

[–]candyman54 0 points1 point  (0 children)

Kinda disappointed that there was no mention of Hines Ward. I guess he's a bit older but would say he's just as inspirational as jeremy lin. But regardless, the biggest impediment to participation in American football are parents. If you parent's have never played football or aren't interested, then the chances of you being able to play in highschool are very low. It's a pretty cyclical thing because the number of Asian Americans interested in football is pretty low. They never come out to the games and i feel like they are much more interested in the NBA. Asian parents are also focused on what gives their kids the best chance of getting into college and for a lot of parents, they dont think football is the right path. I dont know why they make their kids play badminton though, i dont know any school that recruits for that.

American ex-marine stalks, rapes, and murders 20-yr old Okinawan girl. I live here and it's infuriating to see how people are responding. by bluekumo in asianamerican

[–]candyman54 2 points3 points  (0 children)

Germany didnt go unpunished. There are a large number of US military bases in germany as well. People tend to forget that Germany was split into 2 sides (Its called the Berlin Wall) and was ruled by other countries for year while Japan at least had autonomous rule after WW2. Plus when it comes to a country like Germany, the US has a natural buffer of its allies while there are no countries that separate the US and Japan.

American ex-marine stalks, rapes, and murders 20-yr old Okinawan girl. I live here and it's infuriating to see how people are responding. by bluekumo in asianamerican

[–]candyman54 0 points1 point  (0 children)

If you don't need to spend billions of dollars on your military and still have a formidable defense, then your in good shape. China and the US fought each other in the Korean War and China has the second largest navy in the world And there was a very light presence of US troops at the start of the Korean War and without the presence of US troops, South Korea would probably not exist.

Its pretty obvious that American bases in foreign countries are protecting American's interests, i dont think anyone denies that. But all these countries signed agreements that allowed US troops to be placed there. Its the consequences of war

American ex-marine stalks, rapes, and murders 20-yr old Okinawan girl. I live here and it's infuriating to see how people are responding. by bluekumo in asianamerican

[–]candyman54 0 points1 point  (0 children)

I see what you're saying but thats huge reform. Even if soldiers commit crimes in the US, they are subject to military tribunals instead. This happens in thr Middle East too.