Hi @<1637624975324090368:profile|ElatedBat21>
I think that what you want is:
Task.add_requirements("unsloth", "@ git+
")
task = Task.init(...)
after you do that, what are you seeing in the Task "Installed Packages" ?
Hello,
I am currently trying to install unsloth on my ClearML agent.
However after trying many different approaches, there seems to be an issue with installing it from Github.
The closest I come to an installation is with the following code:
Task.force_store_standalone_script()
os.environ["CLEARML_LOG_MODEL"] = "True"
Task.ignore_requirements("unsloth")
Task._force_requirements[
"unsloth @ git+
"
] = None
task = Task.init(project_name='All Experiments',
task_name=os.getenv("TASK_NAME"))
task.execute_remotely(queue_name="default-gpu")
However with that approach, pip freeze shows the package as UNKNOWN @ git+
None and is with that unusable. Checking the pyproject.toml metadata everything is correct.
Do you have any idea how to fix this issue?
Installing from Github should generally not be an issue, right?
Hi @<1637624975324090368:profile|ElatedBat21>
I think that what you want is:
Task.add_requirements("unsloth", "@ git+
")
task = Task.init(...)
after you do that, what are you seeing in the Task "Installed Packages" ?