Sorry about that 😅
Hi @<1523701240951738368:profile|RoundMosquito25> ! Yes, you should be able to do that
@<1523703472304689152:profile|UpsetTurkey67> It would be great if you could write a script we could use to reproduce
Hi @<1523707653782507520:profile|MelancholyElk85> ! I don't think this is possible at the moment 😕 Feel free to open a GH issue that proposes this feature tho
Hi @<1544853695869489152:profile|NonchalantOx99> ! In your clearml.conf
, try to set, at the end of the whole file, outside any curly brackets, agent.package_manager.pip_version: "23.1.2"
it's the same file you added your s3 creds to
Hi @<1523701132025663488:profile|SlimyElephant79> ! Looks like this is a bug on our part. We will fix this as soon as possible
Please add it to github! No other info is needed, we know what the issue is
@<1531445337942659072:profile|OddCentipede48> Looks like this is indeed not supported. What you could do is return the ID of the task that returns the models, then use Task.get_task
and get the model from there. Here is an example:
from clearml import PipelineController
def step_one():
from clearml import Task
from clearml.binding.frameworks import WeightsFileHandler
from clearml.model import Framework
WeightsFileHandler.create_output_model(
"obj", "file...
Hi @<1554638160548335616:profile|AverageSealion33> ! We pull git repos to copy the directory your task is running in. Because you deleted .git
, we can't do that anymore. I think that, to fix this, you could just run the agent in the directory .git
previously existed.
@<1554638160548335616:profile|AverageSealion33> Can you run the script with HYDRA_FULL_ERROR=1
. Also, what if you run the script without clearml? Do you get the same error?
Hi RoundMole15 ! Are you able to see a model logged when you run this simple example?
` from clearml import Task
import torch.nn.functional as F
import torch.nn as nn
import torch
class TheModelClass(nn.Module):
def init(self):
super(TheModelClass, self).init()
self.conv1 = nn.Conv2d(3, 6, 5)
self.pool = nn.MaxPool2d(2, 2)
self.conv2 = nn.Conv2d(6, 16, 5)
self.fc1 = nn.Linear(16 * 5 * 5, 120)
self.fc2 = nn.Linear(120, 84)
s...
Hi EnergeticGoose10 . This is a bug we are aware of. We have already prepared a fix and we will release it ASAP.
You're welcome! Feel free to write here again if you believe this might be a ClearML problem
Don't call PipelineController
functions after start
has finished. Use a post_execute_callback
instead
` from clearml import PipelineController
def some_step():
return
def upload_model_to_controller(controller, node):
print("Start uploading the model")
if name == "main":
pipe = PipelineController(name="Yolo Pipeline Controller", project="yolo_pipelines", version="1.0.0")
pipe.add_function_step(
name="some_step",
function=some_st...
@<1566596968673710080:profile|QuaintRobin7> not for now. Could you please open a GH issue about it? Maybe we can fit this in a future patch.
PanickyMoth78 Something is definitely wrong here. The fix doesn't seem to be trivial as well... we will prioritize this for the next version
Hi ShortElephant92 ! Random images, audio files, tables (trimmed to a few rows) are sent as Debug Samples for preview. By default, they are sent to our servers. Check this function if you wish to log the samples to another destination https://clear.ml/docs/latest/docs/references/sdk/logger/#set_default_upload_destination .
You could also add these entries in you clearml.conf
to not send any samples for preview:
` sdk.dataset.preview.tabular.table_count: 0
sdk.dataset.preview.media.i...
@<1523701240951738368:profile|RoundMosquito25> sorry, actually add_pipeline_tags
will add the tag pipe: ID
to all steps, not a predefined tag. You will need to set the tags
argument to your desired tags for each step individually
Hi SoreHorse95 ! I think that the way we interact with hydra doesn't account for overrides. We will need to look into this. In the meantime, do you also have somesort of stack trace or similar?
Hi HandsomeGiraffe70 ! You could try setting dataset.preview.tabular.table_count
to 0 in your clearml.conf
file
Hi again, @<1526734383564722176:profile|BoredBat47> ! I actually took a closer look at this. The config file should look like this:
s3 {
key: "KEY"
secret: "SECRET"
use_credentials_chain: false
credentials: [
{
host: "myendpoint:443" # no http(s):// and no s3:// prefix, also no bucket name
key: "KEY"
secret: "SECRET"
secure: true # ...
HandsomeGiraffe70 your conf file should look something like this:
` {
# ClearML - default SDK configuration
storage {
cache {
# Defaults to system temp folder / cache
default_base_dir: "~/.clearml/cache"
# default_cache_manager_size: 100
}
direct_access: [
# Objects matching are considered to be available for direct access, i.e. they will not be downloaded
# or cached, and any download request will ...
There might be something wrong with the agent using ubuntu:22.04
. Anyway, good to know everything works fine now
@<1523701304709353472:profile|OddShrimp85> I believe you need to set the repo
argument to point to your repository
@<1526734383564722176:profile|BoredBat47> How would you connect with boto3
? ClearML uses boto3
as well, what it basically does is getting the key/secret/region from the conf file. After that it opens a Session
with the credentials. Have you tried deleting the region altogether from the conf file?
That is a clear bug to me. Can you please open a GH issue?
Hi @<1558986839216361472:profile|FuzzyCentipede59> ! Can you share some snippets of your code, and tell us what you expect to see vs what you actually see is happening?